Add default Smack manifest for acpid.spec
authorRyan Ware <ryan.r.ware@intel.com>
Wed, 30 May 2012 00:50:26 +0000 (17:50 -0700)
committerRyan Ware <ryan.r.ware@intel.com>
Wed, 30 May 2012 00:50:26 +0000 (17:50 -0700)
Change-Id: Ief525b0a82329fad9ae26042fcb48a72820378db
Signed-off-by: Ryan Ware <ryan.r.ware@intel.com>
packaging/acpid.manifest [new file with mode: 0644]
packaging/acpid.spec

diff --git a/packaging/acpid.manifest b/packaging/acpid.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
index d8936ff..6139621 100644 (file)
@@ -17,6 +17,7 @@ Source13:       acpid-start-script
 Source14:       acpid.start.sh
 Source15:       acpid.service
 Source16:       acpid
+Source1001: packaging/acpid.manifest 
 # >> gbp-patch-tags         # auto-added by gbp
 Patch1:         acpid-2.0.9-makefile.patch
 # << gbp-patch-tags         # auto-added by gbp
@@ -42,6 +43,7 @@ Extra sample docs and scripts for acpid.
 # << gbp-apply-patches    # auto-added by gbp
 
 %build
+cp %{SOURCE1001} .
 make %{?_smp_mflags}
 
 
@@ -76,6 +78,7 @@ ln -s ../acpid.service %{buildroot}/%{_lib}/systemd/system/sysinit.target.wants/
 
 
 %files
+%manifest acpid.manifest
 %dir %{_sysconfdir}/acpi
 %dir %{_sysconfdir}/acpi/events
 %dir %{_sysconfdir}/acpi/actions
@@ -102,6 +105,7 @@ ln -s ../acpid.service %{buildroot}/%{_lib}/systemd/system/sysinit.target.wants/
 %{_mandir}/man8/acpi_listen.8.gz
 
 %files extra-docs
+%manifest acpid.manifest
 %defattr(-,root,root)
 %doc %{_defaultdocdir}/acpid/COPYING
 %doc %{_defaultdocdir}/acpid/Changelog