Filter out libbaccats from auto generated Provides/Obsoletes
This commit is contained in:
parent
47fa612afe
commit
9017302d33
22
bacula.spec
22
bacula.spec
@ -1,9 +1,25 @@
|
|||||||
%global uid 133
|
%global uid 133
|
||||||
%global username bacula
|
%global username bacula
|
||||||
|
|
||||||
|
# Prevent the non-existant libbacats-x.x.x.so library to be required. The library
|
||||||
|
# is provided by the libbacats-database-x.x.x.so variants and selected with the
|
||||||
|
# update-alternatives mechanism.
|
||||||
|
# RPM complains, as the shared object name it is always libbacats-x.x.x.so in all
|
||||||
|
# the database shared object variants.
|
||||||
|
%if 0%{?rhel} == 5 || 0%{?rhel} == 6
|
||||||
|
%{?filter_setup:
|
||||||
|
%filter_from_provides /^libbaccats.*\.so.*/d;
|
||||||
|
%filter_from_requires /^libbaccats.*\.so.*/d;
|
||||||
|
%filter_setup
|
||||||
|
}
|
||||||
|
%else
|
||||||
|
%global __provides_exclude ^libbaccats.*\\.so.*$
|
||||||
|
%global __requires_exclude ^libbaccats.*\\.so.*$
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: bacula
|
Name: bacula
|
||||||
Version: 7.0.3
|
Version: 7.0.3
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Cross platform network backup for Linux, Unix, Mac and Windows
|
Summary: Cross platform network backup for Linux, Unix, Mac and Windows
|
||||||
# See LICENSE for details
|
# See LICENSE for details
|
||||||
License: AGPLv3 with exceptions
|
License: AGPLv3 with exceptions
|
||||||
@ -735,6 +751,10 @@ fi
|
|||||||
%{_libdir}/nagios/plugins/check_bacula
|
%{_libdir}/nagios/plugins/check_bacula
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri May 16 2014 Simone Caronni <negativo17@gmail.com> - 7.0.3-2
|
||||||
|
- Filter out libbaccats from auto generated Provides/Obsoletes and add note on
|
||||||
|
the libbaccats-x.x.x.so shared object name mess.
|
||||||
|
|
||||||
* Thu May 15 2014 Simone Caronni <negativo17@gmail.com> - 7.0.3-1
|
* Thu May 15 2014 Simone Caronni <negativo17@gmail.com> - 7.0.3-1
|
||||||
- Update to 7.0.3.
|
- Update to 7.0.3.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user