summaryrefslogtreecommitdiff
path: root/firefox.spec
diff options
context:
space:
mode:
authorKalev Lember <klember@redhat.com>2021-02-01 12:23:49 +0100
committerKalev Lember <klember@redhat.com>2021-02-01 12:23:49 +0100
commit7e3bd66d744b6d49bab40c7813aa2dca4e1da960 (patch)
treec0ee41c1a77f1517b37610e6d8f6ffa8de767154 /firefox.spec
parentDisabled crashreporter on rawhide due to bugzilla.redhat.com/show_bug.cgi?id=... (diff)
downloadlibrewolf-fedora-ff-7e3bd66d744b6d49bab40c7813aa2dca4e1da960.tar.gz
librewolf-fedora-ff-7e3bd66d744b6d49bab40c7813aa2dca4e1da960.tar.bz2
librewolf-fedora-ff-7e3bd66d744b6d49bab40c7813aa2dca4e1da960.zip
Fix warnings from requires filtering
Avoid using %{name} in %{mozappdir} definition as it's expanded separately for each subpackage when doing requires filtering, which then leads to expanding it as /usr/lib64/firefox, /usr/lib64/firefox-x11, /usr/lib64/firefox-wayland etc, which is incorrect. Just spell out "firefox" instead of "%{name}" to avoid this. find: ‘/builddir/build/BUILDROOT/firefox-85.0-8.npgo.fc33.x86_64/usr/lib64/firefox-x11’: No such file or directory
Diffstat (limited to 'firefox.spec')
-rw-r--r--firefox.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/firefox.spec b/firefox.spec
index 3ef52af..3b15f0c 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -141,8 +141,8 @@ ExcludeArch: armv7hl
%global nss_build_version %{nss_version}
%endif
-%global mozappdir %{_libdir}/%{name}
-%global mozappdirdev %{_libdir}/%{name}-devel-%{version}
+%global mozappdir %{_libdir}/firefox
+%global mozappdirdev %{_libdir}/firefox-devel-%{version}
%global langpackdir %{mozappdir}/langpacks
%global tarballdir firefox-%{version}
bgstack15