summaryrefslogtreecommitdiff
path: root/packaging/dbus.spec
diff options
context:
space:
mode:
authorJacek Bukarewicz <j.bukarewicz@samsung.com>2014-11-14 10:47:29 +0100
committerAdrian Szyndela <adrian.s@samsung.com>2016-02-19 11:54:00 +0100
commit244f779616499b162036438c257c1d74af8dbb91 (patch)
treefd7337bf1a04183f2f391c1b5534fbebf93a13fc /packaging/dbus.spec
parentef834041296f8569b105c3311526ff96c98b9091 (diff)
downloaddbus-244f779616499b162036438c257c1d74af8dbb91.tar.gz
dbus-244f779616499b162036438c257c1d74af8dbb91.tar.bz2
dbus-244f779616499b162036438c257c1d74af8dbb91.zip
Add missing security manifests
Change-Id: I765c1f189a4496620e5edc8c02b3055db5b45c09
Diffstat (limited to 'packaging/dbus.spec')
-rw-r--r--packaging/dbus.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/dbus.spec b/packaging/dbus.spec
index 40c14bc0..860d70c3 100644
--- a/packaging/dbus.spec
+++ b/packaging/dbus.spec
@@ -31,6 +31,7 @@ Source4: baselibs.conf
Source5: dbus-user.service
Source6: dbus-user.socket
Source7: dbus.sh
+Source1001: dbus.manifest
BuildRequires: libcap-ng-devel
BuildRequires: pkgconfig(libsmack)
# COMMON1-END
@@ -65,6 +66,7 @@ bus daemon).
%prep
# COMMON2-BEGIN
%setup -n dbus-%{version} -q
+cp %{SOURCE1001} .
%build
autoreconf -fi
@@ -136,8 +138,10 @@ install -m0644 %{SOURCE7} %{buildroot}%{_sysconfdir}/profile.d/dbus.sh
-s /sbin/nologin -r -d '/' dbus 2> /dev/null || :
%docs_package
+%manifest dbus.manifest
%files
+%manifest %{name}.manifest
%defattr(-, root, root)
%dir %{_localstatedir}/lib/dbus
%dir /lib/dbus-1
@@ -178,6 +182,7 @@ install -m0644 %{SOURCE7} %{buildroot}%{_sysconfdir}/profile.d/dbus.sh
%{_sysconfdir}/profile.d/dbus.sh
%files devel-doc
+%manifest %{name}.manifest
%defattr(-,root,root)
%dir %{_datadir}/doc/dbus
%{_datadir}/doc/dbus/api/