Exclude private libraries from autogenerated provides and requires

This commit is contained in:
Kalev Lember 2019-02-21 13:50:57 +01:00
parent 8fa22050a5
commit e4b2720bb7

View File

@ -12,9 +12,13 @@
%global systemd_units tracker-extract.service tracker-miner-fs.service tracker-miner-rss.service tracker-writeback.service
# Exclude private libraries from autogenerated provides and requires
%global __provides_exclude_from ^%{_libdir}/tracker-miners-2.0/
%global __requires_exclude ^(libtracker-extract\.so|libtracker-miners-common\.so|libextract-.*\.so|libwriteback-.*\.so)
Name: tracker-miners
Version: 2.2.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Tracker miners and metadata extractors
# libtracker-extract is LGPLv2+; the miners are a mix of GPLv2+ and LGPLv2+ code
@ -122,6 +126,9 @@ rm -rf %{buildroot}%{_datadir}/tracker-tests
%changelog
* Thu Feb 21 2019 Kalev Lember <klember@redhat.com> - 2.2.0-3
- Exclude private libraries from autogenerated provides and requires
* Thu Feb 21 2019 Kalev Lember <klember@redhat.com> - 2.2.0-2
- Fix the package to be installable again