summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-09-06 08:15:16 (GMT)
committerMaciej Wereski <m.wereski@partner.samsung.com>2014-01-15 15:16:03 (GMT)
commit1f4f4df9585670cd8d018883a7d760dc01900f78 (patch)
treed832393d3e61471bc7783df8b8605c69f0418477
parent411323568241e00853e3fab001643dfbc0a5bbd6 (diff)
downloadlibcap-1f4f4df9585670cd8d018883a7d760dc01900f78.zip
libcap-1f4f4df9585670cd8d018883a7d760dc01900f78.tar.gz
libcap-1f4f4df9585670cd8d018883a7d760dc01900f78.tar.bz2
Fixed license and groups
Change-Id: Ic7c9c6f575135109fd34ca628288e13abea9ad7b Signed-off-by: Anas Nashif <anas.nashif@intel.com>
-rw-r--r--packaging/libcap.spec14
1 files changed, 5 insertions, 9 deletions
diff --git a/packaging/libcap.spec b/packaging/libcap.spec
index 569b42c..30be5c2 100644
--- a/packaging/libcap.spec
+++ b/packaging/libcap.spec
@@ -1,7 +1,7 @@
Name: libcap
Version: 2.22
Release: 1
-License: BSD-3-Clause ; GPL-2.0
+License: BSD-3-Clause and GPL-2.0
Summary: Library for Capabilities (linux-privs) Support
Url: https://sites.google.com/site/fullycapable/
Group: Base/Libraries
@@ -21,9 +21,7 @@ capabilities within setuid binaries. If you use patches, this can be
done automatically by the kernel.
%package devel
-License: BSD-3-Clause ; GPL-2.0
Summary: Development files for libcap
-Group: Development/Libraries
Requires: glibc-devel
Requires: libcap = %{version}
@@ -37,12 +35,11 @@ draft 15 capabilities.
Install libcap-devel if you want to develop or compile applications
using libcap.
-%package progs
-License: BSD-3-Clause ; GPL-2.0
+%package tools
Summary: Libcap utility programs
-Group: Base/File Systems
+Provides: %{name}-progs
-%description progs
+%description tools
This package contains utility programs handling capabilities via
libcap.
@@ -74,7 +71,7 @@ ln -s /%{_lib}/libcap.so.2 %{buildroot}%{_libdir}/libcap.so
%license License
%attr(755,root,root) /%{_lib}/libcap.so.*
-%files progs
+%files tools
%manifest %{name}.manifest
%defattr(-,root,root)
%{_mandir}/man1/*
@@ -84,7 +81,6 @@ ln -s /%{_lib}/libcap.so.2 %{buildroot}%{_libdir}/libcap.so
%files devel
%manifest %{name}.manifest
%defattr(-,root,root)
-%doc License README CHANGELOG
%{_includedir}/sys/capability.h
%{_libdir}/*.so
%{_mandir}/man3/*