summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru Cornea <alexandru.cornea@intel.com>2013-06-29 05:10:40 +0300
committerAlexandru Cornea <alexandru.cornea@intel.com>2013-06-29 05:10:40 +0300
commite9728a2f2ab9dc8e1aa1d3526f966e35b578f43c (patch)
tree1227acab02427e69c2d119a9c40d5e3ae98889a5
parent395c192a0d6f06928395b3ed81fd63366b9e5f13 (diff)
downloadlibrpm-tizen-e9728a2f2ab9dc8e1aa1d3526f966e35b578f43c.tar.gz
librpm-tizen-e9728a2f2ab9dc8e1aa1d3526f966e35b578f43c.tar.bz2
librpm-tizen-e9728a2f2ab9dc8e1aa1d3526f966e35b578f43c.zip
resetting manifest requested domain to floor
-rw-r--r--packaging/rpm.manifest5
-rw-r--r--packaging/rpm.spec6
2 files changed, 11 insertions, 0 deletions
diff --git a/packaging/rpm.manifest b/packaging/rpm.manifest
new file mode 100644
index 000000000..017d22d3a
--- /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 9e6ae414e..e4d1a1602 100644
--- a/packaging/rpm.spec
+++ b/packaging/rpm.spec
@@ -44,6 +44,7 @@ Source8: rpmconfigcheck
Source13: find-docs.sh
Source22: device-sec-policy
Source23: find-provides.ksyms
+Source1001: rpm.manifest
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#
# avoid bootstrapping problem
@@ -105,6 +106,7 @@ security-related functionality.
%prep
%setup -q -n rpm-%{version}
+cp %{SOURCE1001} .
rm -rf sqlite
tar xjf %{S:1}
ln -s db-4.8.30 db
@@ -223,6 +225,7 @@ rm -f var/lib/rpm/Filemd5s var/lib/rpm/Filedigests var/lib/rpm/Requireversion va
/sbin/ldconfig
%files -f rpm.lang
+%manifest %{name}.manifest
%defattr(-,root,root)
%doc GROUPS
%license COPYING
@@ -262,6 +265,7 @@ rm -f var/lib/rpm/Filemd5s var/lib/rpm/Filedigests var/lib/rpm/Requireversion va
%dir %attr(755,root,root) /usr/src/packages/RPMS/*
%files build
+%manifest %{name}.manifest
%defattr(-,root,root)
%{_bindir}/rpmbuild
%{_bindir}/gendiff
@@ -286,6 +290,7 @@ rm -f var/lib/rpm/Filemd5s var/lib/rpm/Filedigests var/lib/rpm/Requireversion va
%files devel
+%manifest %{name}.manifest
%defattr(644,root,root,755)
%{_bindir}/rpmgraph
/usr/include/rpm
@@ -296,6 +301,7 @@ rm -f var/lib/rpm/Filemd5s var/lib/rpm/Filedigests var/lib/rpm/Requireversion va
%{_libdir}/pkgconfig/rpm.pc
%files security-plugin
+%manifest %{name}.manifest
%defattr(-,root,root)
%{_libdir}/rpm-plugins/msm.so
%config(noreplace) %{_sysconfdir}/device-sec-policy