Fix build on RHEL/CentOS 6
This commit is contained in:
parent
a303913827
commit
a38ed26f76
12
bacula.spec
12
bacula.spec
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: bacula
|
Name: bacula
|
||||||
Version: 9.0.7
|
Version: 9.0.7
|
||||||
Release: 6%{?dist}
|
Release: 7%{?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
|
||||||
@ -393,9 +393,9 @@ convert %{SOURCE19} bacula-tray-monitor.png
|
|||||||
# Nagios plugin
|
# Nagios plugin
|
||||||
install -p -m 755 -D examples/nagios/check_bacula/.libs/check_bacula %{buildroot}%{_libdir}/nagios/plugins/check_bacula
|
install -p -m 755 -D examples/nagios/check_bacula/.libs/check_bacula %{buildroot}%{_libdir}/nagios/plugins/check_bacula
|
||||||
|
|
||||||
# Remove catalogue backend symlinks
|
# This will be managed through alternatives, as it requires the name to NOT
|
||||||
|
# change between upgrades, so the versioned library name can not be used.
|
||||||
rm -f %{buildroot}%{_libdir}/libbaccats.so
|
rm -f %{buildroot}%{_libdir}/libbaccats.so
|
||||||
rm -f %{buildroot}%{_libdir}/libbaccats-%{version}.so
|
|
||||||
|
|
||||||
# Bat
|
# Bat
|
||||||
install -p -m 644 -D src/qt-console/images/bat_icon.png %{buildroot}%{_datadir}/pixmaps/bat_icon.png
|
install -p -m 644 -D src/qt-console/images/bat_icon.png %{buildroot}%{_datadir}/pixmaps/bat_icon.png
|
||||||
@ -580,6 +580,9 @@ fi
|
|||||||
%files libs-sql
|
%files libs-sql
|
||||||
# On Fedora 28 this gets recreated automatically even if the library is
|
# On Fedora 28 this gets recreated automatically even if the library is
|
||||||
# deleted in the install section.
|
# deleted in the install section.
|
||||||
|
# On EPEL 6 this is required until RPM assembly time or an error is given due
|
||||||
|
# to the missing library.
|
||||||
|
# So: leave the library in place until the very end and just exclude it.
|
||||||
%exclude %{_libdir}/libbaccats-%{version}.so
|
%exclude %{_libdir}/libbaccats-%{version}.so
|
||||||
%{_libdir}/libbaccats-mysql-%{version}.so
|
%{_libdir}/libbaccats-mysql-%{version}.so
|
||||||
%{_libdir}/libbaccats-mysql.so
|
%{_libdir}/libbaccats-mysql.so
|
||||||
@ -731,6 +734,9 @@ fi
|
|||||||
%{_libdir}/nagios/plugins/check_bacula
|
%{_libdir}/nagios/plugins/check_bacula
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 15 2018 Simone Caronni <negativo17@gmail.com> - 9.0.7-7
|
||||||
|
- Fix build on RHEL/CentOS 6.
|
||||||
|
|
||||||
* Wed Jun 13 2018 Simone Caronni <negativo17@gmail.com> - 9.0.7-6
|
* Wed Jun 13 2018 Simone Caronni <negativo17@gmail.com> - 9.0.7-6
|
||||||
- Fix typo.
|
- Fix typo.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user