[liblogging/f21] fix license handling

Tom Callaway spot at fedoraproject.org
Fri Jul 18 18:56:53 UTC 2014


commit a6e16836d6822b9776ae7f1bb59fad21dbbb885a
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Fri Jul 18 14:57:19 2014 -0400

    fix license handling

 liblogging.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/liblogging.spec b/liblogging.spec
index 8e476af..2ccdfdd 100644
--- a/liblogging.spec
+++ b/liblogging.spec
@@ -1,6 +1,6 @@
 Name:    liblogging
 Version: 1.0.4
-Release: 2%{?dist}
+Release: 3%{?dist}
 Summary: An easy to use logging library
 License: BSD
 Group:   System Environment/Libraries
@@ -63,7 +63,9 @@ rm -f \
 
 %files stdlog
 %defattr(-,root,root,-)
-%doc COPYING ChangeLog
+%{!?_licensedir:%global license %%doc}
+%license COPYING
+%doc ChangeLog
 %{_libdir}/liblogging-stdlog.so.*
 
 %files stdlog-devel
@@ -74,6 +76,9 @@ rm -f \
 %{_mandir}/man3/stdlog.3.gz
 
 %changelog
+* Fri Jul 18 2014 Tom Callaway <spot at fedoraproject.org> - 1.0.4-3
+- fix license handling
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.4-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list