summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Ware <ryan.r.ware@intel.com>2012-05-29 17:49:30 -0700
committerRyan Ware <ryan.r.ware@intel.com>2012-05-29 17:49:30 -0700
commit91057db3609267159f0aa272247c8c412ed56b8c (patch)
treec822d28cec2a03eb0d74c3cddf3f4c12424003de
parent0b82e2e6be6fce7481389b8911a1b29c04f0836d (diff)
downloadrpm-91057db3609267159f0aa272247c8c412ed56b8c.tar.gz
rpm-91057db3609267159f0aa272247c8c412ed56b8c.tar.bz2
rpm-91057db3609267159f0aa272247c8c412ed56b8c.zip
Add default Smack manifest for rpm.spec
Change-Id: I314fdd5f9d9b1a49091eea9127092bee30f1a00c Signed-off-by: Ryan Ware <ryan.r.ware@intel.com>
-rw-r--r--packaging/rpm.manifest5
-rw-r--r--packaging/rpm.spec7
2 files changed, 12 insertions, 0 deletions
diff --git a/packaging/rpm.manifest b/packaging/rpm.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/rpm.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/rpm.spec b/packaging/rpm.spec
index 8730eb4..26ce776 100644
--- a/packaging/rpm.spec
+++ b/packaging/rpm.spec
@@ -14,6 +14,7 @@ Source11: db-4.8.30.tar.gz
Source20: macros
Source21: find-docs.sh
Source22: device-sec-policy
+Source1001: packaging/rpm.manifest
Patch1: db.diff
# quilt patches start here
@@ -188,6 +189,7 @@ rm -f m4/libtool.m4
rm -f m4/lt*.m4
%build
+cp %{SOURCE1001} .
CPPFLAGS="$CPPFLAGS `pkg-config --cflags nss`"
CFLAGS="%{optflags}"
export CPPFLAGS CFLAGS LDFLAGS
@@ -272,6 +274,7 @@ exit 0
%files -f rpm.lang
+%manifest rpm.manifest
%defattr(-,root,root,-)
%doc GROUPS COPYING CREDITS
%exclude /usr/lib/rpm/rpmdb_loadcvt
@@ -309,10 +312,12 @@ exit 0
%{_libdir}/rpm/platform
%files libs
+%manifest rpm.manifest
%defattr(-,root,root)
%{_libdir}/librpm*.so.*
%files build
+%manifest rpm.manifest
%defattr(-,root,root)
%{_bindir}/rpmbuild
%{_bindir}/gendiff
@@ -360,6 +365,7 @@ exit 0
%files devel
+%manifest rpm.manifest
%defattr(-,root,root)
%{_includedir}/rpm
%{_libdir}/librp*[a-z].so
@@ -368,6 +374,7 @@ exit 0
%files security-plugin
+%manifest rpm.manifest
%defattr(-,root,root)
%{_libdir}/rpm-plugins/msm.so
%config(noreplace) %{_sysconfdir}/device-sec-policy