[libsemanage/f21] fix license handling
Tom Callaway
spot at fedoraproject.org
Fri Jul 18 19:19:21 UTC 2014
commit 7a89880b281b6026ad6223510c7124f74ec2f07b
Author: Tom Callaway <spot at fedoraproject.org>
Date: Fri Jul 18 15:19:46 2014 -0400
fix license handling
libsemanage.spec | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/libsemanage.spec b/libsemanage.spec
index 2b6bb8f..3bd8e34 100644
--- a/libsemanage.spec
+++ b/libsemanage.spec
@@ -7,7 +7,7 @@
Summary: SELinux binary policy manipulation library
Name: libsemanage
Version: 2.3
-Release: 3%{?dist}
+Release: 4%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
Source: libsemanage-%{version}.tgz
@@ -144,6 +144,8 @@ rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(-,root,root)
+%{!?_licensedir:%global license %%doc}
+%license COPYING
%dir %{_sysconfdir}/selinux
%config(noreplace) %{_sysconfdir}/selinux/semanage.conf
/%{_libdir}/libsemanage.so.1
@@ -179,6 +181,9 @@ rm -rf ${RPM_BUILD_ROOT}
%endif # if with_python3
%changelog
+* Fri Jul 18 2014 Tom Callaway <spot at fedoraproject.org> - 2.3-4
+- fix license handling
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
More information about the scm-commits
mailing list