From e3a719c94dc7d98be774ad567df4fb72f66aaaa7 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Tue, 24 Feb 2015 18:30:34 +0100 Subject: [PATCH] Add license macro --- bacula.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/bacula.spec b/bacula.spec index 3c1b885..a0ccebe 100644 --- a/bacula.spec +++ b/bacula.spec @@ -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 - 7.0.5-3 +- Add license macro. + * Fri Aug 15 2014 Fedora Release Engineering - 7.0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild