summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru Cornea <alexandru.cornea@intel.com>2013-06-28 23:19:35 (GMT)
committerMaciej Wereski <m.wereski@partner.samsung.com>2014-01-15 15:16:03 (GMT)
commit411323568241e00853e3fab001643dfbc0a5bbd6 (patch)
tree225f61cc497f24f6b45355cf5cf6d783a2d811cb
parent9937826f79e82f29056d31389f7f2a54c5aa989b (diff)
downloadlibcap-411323568241e00853e3fab001643dfbc0a5bbd6.zip
libcap-411323568241e00853e3fab001643dfbc0a5bbd6.tar.gz
libcap-411323568241e00853e3fab001643dfbc0a5bbd6.tar.bz2
resetting manifest requested domain to floor
-rw-r--r--packaging/libcap.manifest5
-rw-r--r--packaging/libcap.spec5
2 files changed, 10 insertions, 0 deletions
diff --git a/packaging/libcap.manifest b/packaging/libcap.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/libcap.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/libcap.spec b/packaging/libcap.spec
index 414aee6..569b42c 100644
--- a/packaging/libcap.spec
+++ b/packaging/libcap.spec
@@ -7,6 +7,7 @@ Url: https://sites.google.com/site/fullycapable/
Group: Base/Libraries
Source: %{name}-%{version}.tar.bz2
Source2: baselibs.conf
+Source1001: libcap.manifest
BuildRequires: fdupes
BuildRequires: libattr-devel
%define debug_package_requires libcap2 = %{version}-%{release}
@@ -47,6 +48,7 @@ libcap.
%prep
%setup -q
+cp %{SOURCE1001} .
%build
# lib=%{_lib} make %{?_smp_mflags} COPTFLAG="%{optflags}"
@@ -67,17 +69,20 @@ ln -s /%{_lib}/libcap.so.2 %{buildroot}%{_libdir}/libcap.so
%postun -p /sbin/ldconfig
%files
+%manifest %{name}.manifest
%defattr(-,root,root)
%license License
%attr(755,root,root) /%{_lib}/libcap.so.*
%files progs
+%manifest %{name}.manifest
%defattr(-,root,root)
%{_mandir}/man1/*
%{_mandir}/man8/*
/sbin/*
%files devel
+%manifest %{name}.manifest
%defattr(-,root,root)
%doc License README CHANGELOG
%{_includedir}/sys/capability.h