Add license macro

This commit is contained in:
Simone Caronni 2015-02-24 18:30:34 +01:00
parent a9b597a5b6
commit e3a719c94d

View File

@ -1,9 +1,11 @@
%{!?_licensedir:%global license %%doc}
%global uid 133
%global username bacula
Name: bacula
Version: 7.0.5
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Cross platform network backup for Linux, Unix, Mac and Windows
# See LICENSE for details
License: AGPLv3 with exceptions
@ -580,7 +582,8 @@ fi
%endif
%files libs
%doc AUTHORS ChangeLog LICENSE SUPPORT ReleaseNotes
%license LICENSE
%doc AUTHORS ChangeLog SUPPORT ReleaseNotes
%defattr(-,root,root,-)
%{_libdir}/libbac-%{version}.so
%{_libdir}/libbaccfg-%{version}.so
@ -744,6 +747,9 @@ fi
%{_libdir}/nagios/plugins/check_bacula
%changelog
* Tue Feb 24 2015 Simone Caronni <negativo17@gmail.com> - 7.0.5-3
- Add license macro.
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.0.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild