[libestr] fix license handling

Tom Callaway spot at fedoraproject.org
Thu Jul 17 18:34:11 UTC 2014


commit c17e5486e51d187f39c2245834090488169235bd
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Thu Jul 17 14:34:30 2014 -0400

    fix license handling

 libestr.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/libestr.spec b/libestr.spec
index 597ccbb..66c000e 100644
--- a/libestr.spec
+++ b/libestr.spec
@@ -1,6 +1,6 @@
 Name:           libestr
 Version:        0.1.9
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        String handling essentials library
 
 License:        LGPLv2+
@@ -35,7 +35,9 @@ rm -f %{buildroot}/%{_libdir}/*.{a,la}
 %postun -p /sbin/ldconfig
 
 %files
-%doc README COPYING AUTHORS ChangeLog
+%{!?_licensedir:%global license %%doc}
+%license COPYING
+%doc README AUTHORS ChangeLog
 %{_libdir}/lib*.so.*
 
 %files devel
@@ -44,6 +46,9 @@ rm -f %{buildroot}/%{_libdir}/*.{a,la}
 %{_libdir}/pkgconfig/libestr.pc
 
 %changelog
+* Thu Jul 17 2014 Tom Callaway <spot at fedoraproject.org> - 0.1.9-3
+- fix license handling
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1.9-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list