From 0bec7bfce3e94d1c0f8688414d33163662aee69b Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Fri, 11 Jul 2014 16:47:06 -0400 Subject: [PATCH] fix license handling --- cpio.spec | 9 +++++++-- 1 file 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 - 2.11-29 +- fix license handling + * Sat Jun 07 2014 Fedora Release Engineering - 2.11-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild