[libverto/f21] fix license handling

Tom Callaway spot at fedoraproject.org
Fri Jul 18 19:35:23 UTC 2014


commit abd2c1fafe1dce67f8afb498dffebe4bd097c8b2
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Fri Jul 18 15:35:48 2014 -0400

    fix license handling

 libverto.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/libverto.spec b/libverto.spec
index 456b8ae..d8645ae 100644
--- a/libverto.spec
+++ b/libverto.spec
@@ -1,6 +1,6 @@
 Name:           libverto
 Version:        0.2.6
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Main loop abstraction library
 
 License:        MIT
@@ -146,7 +146,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 %endif
 
 %files
-%doc AUTHORS ChangeLog COPYING NEWS README
+%{!?_licensedir:%global license %%doc}
+%license COPYING
+%doc AUTHORS ChangeLog NEWS README
 %{_libdir}/%{name}.so.*
 
 %files devel
@@ -190,6 +192,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 %endif
 
 %changelog
+* Fri Jul 18 2014 Tom Callaway <spot at fedoraproject.org> - 0.2.6-3
+- fix license handling
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2.6-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list