From 9ffa95d2a9e1b7d0b964090f88c5b4e3081ac9cf Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Mon, 1 Apr 2019 10:27:34 +0200 Subject: Fixed Bug 1694377 - remove the double leading underscores, by Evan Klitzke --- firefox.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/firefox.spec b/firefox.spec index b1968c7..fd618f4 100644 --- a/firefox.spec +++ b/firefox.spec @@ -666,14 +666,14 @@ desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE29} %endif %{__rm} -rf %{buildroot}%{_bindir}/firefox %{__sed} -e 's/__DEFAULT_WAYLAND__/%{wayland_default}/' \ - -e 's,__PREFIX__,%{_prefix},g' %{SOURCE21} > %{buildroot}%{_bindir}/firefox + -e 's,/__PREFIX__,%{_prefix},g' %{SOURCE21} > %{buildroot}%{_bindir}/firefox %{__chmod} 755 %{buildroot}%{_bindir}/firefox %if 0%{?wayland_backend_default} -%{__sed} -e 's,__PREFIX__,%{_prefix},g' %{SOURCE30} > %{buildroot}%{_bindir}/firefox-x11 +%{__sed} -e 's,/__PREFIX__,%{_prefix},g' %{SOURCE30} > %{buildroot}%{_bindir}/firefox-x11 %{__chmod} 755 %{buildroot}%{_bindir}/firefox-x11 %else -%{__sed} -e 's,__PREFIX__,%{_prefix},g' %{SOURCE28} > %{buildroot}%{_bindir}/firefox-wayland +%{__sed} -e 's,/__PREFIX__,%{_prefix},g' %{SOURCE28} > %{buildroot}%{_bindir}/firefox-wayland %{__chmod} 755 %{buildroot}%{_bindir}/firefox-wayland %endif -- cgit