[nspr/f21] fix license handling

Tom Callaway spot at fedoraproject.org
Fri Jul 18 22:49:06 UTC 2014


commit f2e2c4c516aab4df95e7439a90cb8eb3d724ef88
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Fri Jul 18 18:49:31 2014 -0400

    fix license handling

 nspr.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/nspr.spec b/nspr.spec
index 4631f3f..f501c72 100644
--- a/nspr.spec
+++ b/nspr.spec
@@ -1,7 +1,7 @@
 Summary:        Netscape Portable Runtime
 Name:           nspr
 Version:        4.10.6
-Release:        1%{?dist}
+Release:        2%{?dist}
 License:        MPLv2.0
 URL:            http://www.mozilla.org/projects/nspr/
 Group:          System Environment/Libraries
@@ -128,6 +128,8 @@ done
 
 %files
 %defattr(-,root,root)
+%{!?_licensedir:%global license %%doc}
+%license nspr/LICENSE
 %{_libdir}/libnspr4.so
 %{_libdir}/libplc4.so
 %{_libdir}/libplds4.so
@@ -140,6 +142,9 @@ done
 %{_mandir}/man*/*
 
 %changelog
+* Fri Jul 18 2014 Tom Callaway <spot at fedoraproject.org> - 4.10.6-2
+- fix license handling
+
 * Tue Jun 10 2014 Elio Maldonado <emaldona at redhat.com> - 4.10.6-1
 - Update to NSPR_4_10_6_RTM
 


More information about the scm-commits mailing list