[bzip2/f21] fix license marking

Tom Callaway spot at fedoraproject.org
Fri Jul 11 20:17:14 UTC 2014


commit bd53687891218827657660d2beec0098dd774b45
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Fri Jul 11 16:17:33 2014 -0400

    fix license marking

 bzip2.spec |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/bzip2.spec b/bzip2.spec
index 53408d2..71d0b12 100644
--- a/bzip2.spec
+++ b/bzip2.spec
@@ -3,7 +3,7 @@
 Summary: A file compression utility
 Name: bzip2
 Version: 1.0.6
-Release: 12%{?dist}
+Release: 13%{?dist}
 License: BSD
 Group: Applications/File
 URL: http://www.bzip.org/
@@ -99,11 +99,14 @@ ln -s bzgrep.1 $RPM_BUILD_ROOT%{_mandir}/man1/bzfgrep.1
 
 %files
 %doc LICENSE CHANGES README
+%{!?_licensedir:%global license %%doc}
+%license LICENSE
 %{_bindir}/*
 %{_mandir}/*/*
 
 %files libs
-%doc LICENSE
+%{!?_licensedir:%global license %%doc}
+%license LICENSE
 %{_libdir}/libbz2.so.1*
 
 %files devel
@@ -112,6 +115,9 @@ ln -s bzgrep.1 $RPM_BUILD_ROOT%{_mandir}/man1/bzfgrep.1
 %{_libdir}/*.so
 
 %changelog
+* Fri Jul 11 2014 Tom Callaway <spot at fedoraproject.org> - 1.0.6-13
+- fix license marking
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.6-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list