Fixing package requires/provides the same way as provided by kalev for Firefox
This commit is contained in:
parent
c3cb08572f
commit
8d7d533c90
@ -83,10 +83,14 @@ ExcludeArch: s390x
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# Exclude private libraries from autogenerated provides and requires
|
||||
%global __provides_exclude_from ^%{mozappdir}
|
||||
%global __requires_exclude ^(%%(find %{buildroot}%{mozappdir} -name '*.so' | xargs -n1 basename | sort -u | paste -s -d '|' -))
|
||||
|
||||
Summary: Mozilla Thunderbird mail/newsgroup client
|
||||
Name: thunderbird
|
||||
Version: 78.7.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
URL: http://www.mozilla.org/projects/thunderbird/
|
||||
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
||||
Source0: ftp://ftp.mozilla.org/pub/thunderbird/releases/%{version}%{?pre_version}/source/thunderbird-%{version}%{?pre_version}.source.tar.xz
|
||||
@ -203,12 +207,6 @@ BuildRequires: icu
|
||||
|
||||
Suggests: u2f-hidraw-policy
|
||||
|
||||
# Do not check .so files in an application-specific library directory
|
||||
# or any files in the application's data directory for provides
|
||||
%global __requires_exclude_from ^(%{_libdir}/%{name}/.*\\.so.*|%{_libdir}/%{name}/gtk2/.*\\.so.*)$
|
||||
%global __provides_exclude_from ^(%{_libdir}/%{name}/.*\\.so.*|%{_libdir}/%{name}/gtk2/.*\\.so.*)$
|
||||
%global __requires_exclude ^libxul.*$
|
||||
|
||||
%description
|
||||
Mozilla Thunderbird is a standalone mail and newsgroup client.
|
||||
|
||||
@ -753,6 +751,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
#===============================================================================
|
||||
|
||||
%changelog
|
||||
* Thu Jan 28 2021 Jan Horak <jhorak@redhat.com> - 78.7.0-2
|
||||
- Fixing package requires/provides the same way as provided by kalev for Firefox
|
||||
|
||||
* Wed Jan 27 2021 Jan Horak <jhorak@redhat.com> - 78.7.0-1
|
||||
- Update to 78.7.0 build2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user