[libseccomp/f21] fix license handling

Tom Callaway spot at fedoraproject.org
Fri Jul 18 19:14:42 UTC 2014


commit 9d6eece9edcf3a62c95a87c66afa6eae29e77b0c
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Fri Jul 18 15:15:07 2014 -0400

    fix license handling

 libseccomp.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/libseccomp.spec b/libseccomp.spec
index f5a4ac1..cb69c7e 100644
--- a/libseccomp.spec
+++ b/libseccomp.spec
@@ -1,7 +1,7 @@
 Summary: Enhanced seccomp library
 Name: libseccomp
 Version: 2.1.1
-Release: 3%{?dist}
+Release: 4%{?dist}
 ExclusiveArch: %{ix86} x86_64 %{arm}
 License: LGPLv2
 Group: System Environment/Libraries
@@ -50,7 +50,8 @@ make check
 %postun -p /sbin/ldconfig
 
 %files
-%doc LICENSE
+%{!?_licensedir:%global license %%doc}
+%license LICENSE
 %doc CREDITS
 %doc README
 %{_libdir}/libseccomp.so.*
@@ -64,6 +65,9 @@ make check
 %{_mandir}/man3/*
 
 %changelog
+* Fri Jul 18 2014 Tom Callaway <spot at fedoraproject.org> - 2.1.1-4
+- fix license handling
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.1.1-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list