From 419aff79052aca915f38ba7158f693d587c26bb8 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Wed, 30 Jul 2014 11:00:02 -0400 Subject: [PATCH] fix license handling --- parted.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/parted.spec b/parted.spec index 8ce6ccf..c0cf244 100644 --- a/parted.spec +++ b/parted.spec @@ -4,7 +4,7 @@ Summary: The GNU disk partition manipulation program Name: parted Version: 3.1.90 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ Group: Applications/System URL: http://www.gnu.org/software/parted @@ -136,7 +136,9 @@ fi %files -f %{name}.lang %defattr(-,root,root,-) -%doc AUTHORS COPYING NEWS README THANKS +%doc AUTHORS NEWS README THANKS +%{!?_licensedir:%global license %%doc} +%license COPYING %{_sbindir}/parted %{_sbindir}/partprobe %{_mandir}/man8/parted.8.gz @@ -154,6 +156,9 @@ fi %changelog +* Wed Jul 30 2014 Tom Callaway 3.1.90-2 +- fix license handling + * Mon Jul 28 2014 Brian C. Lane 3.1.90-1 - Rebase on upstream Alpha source release - drop included patches (all but one)