From 2b36aeb6ff06a9ed717407f1ff9dddf02add26ad Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Mon, 1 Feb 2021 15:02:03 +0100 Subject: [PATCH] Fix warnings from requires filtering MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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/thunderbird, /usr/lib64/thunderbird-wayland etc, which is incorrect. Just spell out "thunderbird" instead of "%{name}" to avoid this. find: ‘/builddir/build/BUILDROOT/thunderbird-78.7.0-2.fc33.x86_64/usr/lib64/thunderbird-wayland’: No such file or directory --- thunderbird.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thunderbird.spec b/thunderbird.spec index e7548dd..fa13256 100644 --- a/thunderbird.spec +++ b/thunderbird.spec @@ -71,7 +71,7 @@ ExcludeArch: s390x # IMPORTANT: If there is no top level directory, this should be # set to the cwd, ie: '.' %define objdir objdir -%define mozappdir %{_libdir}/%{name} +%define mozappdir %{_libdir}/thunderbird %define official_branding 1