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/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
This commit is contained in:
Kalev Lember 2021-02-01 15:02:03 +01:00
parent 8d7d533c90
commit 2b36aeb6ff

View File

@ -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