summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2019-10-15 11:07:21 +0200
committerMartin Stransky <stransky@redhat.com>2019-10-15 11:07:21 +0200
commitbe00a1517c763794ca8af877ad00c7a7b0fe00e8 (patch)
tree650393ce261a517ccd10504ed3334f238d391ca0
parentBuild firefox-wayland again (rhbz#1761578) (diff)
downloadlibrewolf-fedora-ff-be00a1517c763794ca8af877ad00c7a7b0fe00e8.tar.gz
librewolf-fedora-ff-be00a1517c763794ca8af877ad00c7a7b0fe00e8.tar.bz2
librewolf-fedora-ff-be00a1517c763794ca8af877ad00c7a7b0fe00e8.zip
Spec file update - firefox-wayland package
-rw-r--r--firefox.spec6
1 files changed, 2 insertions, 4 deletions
diff --git a/firefox.spec b/firefox.spec
index f8e1648..872105b 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -691,9 +691,8 @@ DESTDIR=%{buildroot} make -C objdir install
desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE20}
%if 0%{?wayland_backend_default}
desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE31}
-%else
-desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE29}
%endif
+desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE29}
# set up the firefox start script
%if 0%{?wayland_backend_default}
@@ -716,10 +715,9 @@ sed -i -e 's|%FLATPAK_ENV_VARS%||' %{buildroot}%{_bindir}/firefox
%if 0%{?wayland_backend_default}
%{__sed} -e 's,/__PREFIX__,%{_prefix},g' %{SOURCE30} > %{buildroot}%{_bindir}/firefox-x11
%{__chmod} 755 %{buildroot}%{_bindir}/firefox-x11
-%else
+%endif
%{__sed} -e 's,/__PREFIX__,%{_prefix},g' %{SOURCE28} > %{buildroot}%{_bindir}/firefox-wayland
%{__chmod} 755 %{buildroot}%{_bindir}/firefox-wayland
-%endif
%{__install} -p -D -m 644 %{SOURCE23} %{buildroot}%{_mandir}/man1/firefox.1
bgstack15