[libpipeline] fix license handling

Tom Callaway spot at fedoraproject.org
Fri Jul 18 19:08:03 UTC 2014


commit a3ad179db161ae6b04dc052223ff06ddec2b4728
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Fri Jul 18 15:08:29 2014 -0400

    fix license handling

 libpipeline.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/libpipeline.spec b/libpipeline.spec
index 3081053..16e3f3a 100644
--- a/libpipeline.spec
+++ b/libpipeline.spec
@@ -3,7 +3,7 @@
 Summary: A pipeline manipulation library
 Name: libpipeline
 Version: 1.3.0
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPLv3+
 Group: Development/Libraries
 URL: http://libpipeline.nongnu.org/
@@ -50,7 +50,9 @@ rm $RPM_BUILD_ROOT/%{_libdir}/libpipeline.la
 %postun -p /sbin/ldconfig
 
 %files
-%doc COPYING README ChangeLog NEWS
+%{!?_licensedir:%global license %%doc}
+%license COPYING
+%doc README ChangeLog NEWS
 %{_libdir}/libpipeline.so.*
 
 %files devel
@@ -60,6 +62,9 @@ rm $RPM_BUILD_ROOT/%{_libdir}/libpipeline.la
 %{_mandir}/man3/*
 
 %changelog
+* Fri Jul 18 2014 Tom Callaway <spot at fedoraproject.org> - 1.3.0-3
+- fix license handling
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list