[cpio] fix license handling

Tom Callaway spot at fedoraproject.org
Fri Jul 11 20:46:49 UTC 2014


commit 0bec7bfce3e94d1c0f8688414d33163662aee69b
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Fri Jul 11 16:47:06 2014 -0400

    fix license handling

 cpio.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/cpio.spec b/cpio.spec
index 8e86ccb..d85a0c2 100644
--- a/cpio.spec
+++ b/cpio.spec
@@ -1,7 +1,7 @@
 Summary: A GNU archiving program
 Name: cpio
 Version: 2.11
-Release: 28%{?dist}
+Release: 29%{?dist}
 License: GPLv3+
 Group: Applications/Archiving
 URL: http://www.gnu.org/software/cpio/
@@ -119,12 +119,17 @@ if [ $1 = 0 ]; then
 fi
 
 %files -f %{name}.lang
-%doc AUTHORS ChangeLog NEWS README THANKS TODO COPYING
+%doc AUTHORS ChangeLog NEWS README THANKS TODO
+%{!?_licensedir:%global license %%doc}
+%license COPYING
 %{_bindir}/*
 %{_mandir}/man*/*
 %{_infodir}/*.info*
 
 %changelog
+* Fri Jul 11 2014 Tom Callaway <spot at fedoraproject.org> - 2.11-29
+- fix license handling
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.11-28
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list