From 72940b4d71ea95eaf5b22ba68d52131b91339127 Mon Sep 17 00:00:00 2001 From: Ryan Ware Date: Tue, 29 May 2012 17:50:52 -0700 Subject: [PATCH] Add default Smack manifest for syslinux.spec Change-Id: I0084a375df2d384ea5ef6ef7060f5c4681bc214b Signed-off-by: Ryan Ware --- packaging/syslinux.manifest | 5 +++++ packaging/syslinux.spec | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 packaging/syslinux.manifest diff --git a/packaging/syslinux.manifest b/packaging/syslinux.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/syslinux.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/syslinux.spec b/packaging/syslinux.spec index 0a5e575..3c46974 100644 --- a/packaging/syslinux.spec +++ b/packaging/syslinux.spec @@ -11,6 +11,7 @@ ExclusiveArch: %{ix86} x86_64 Buildroot: %{_tmppath}/%{name}-%{version}-root BuildRequires: nasm >= 0.98.39, perl Source101: syslinux-rpmlintrc +Source1001: packaging/syslinux.manifest # >> gbp-patch-tags # auto-added by gbp Patch0: 0001-btrfs-Correctly-determine-the-installation-subvolume.patch # << gbp-patch-tags # auto-added by gbp @@ -70,6 +71,7 @@ booting in the /var/lib/tftpboot directory. # << gbp-apply-patches # auto-added by gbp %build +cp %{SOURCE1001} . make CC='%{my_cc}' clean make CC='%{my_cc}' installer make CC='%{my_cc}' -C sample tidy @@ -87,6 +89,7 @@ make CC='%{my_cc}' -C sample tidy rm -rf %{buildroot} %files +%manifest syslinux.manifest %defattr(-,root,root) %{_bindir} %dir %{_datadir}/syslinux @@ -99,6 +102,7 @@ rm -rf %{buildroot} %{_datadir}/syslinux/dosutil %files devel +%manifest syslinux.manifest %defattr(-,root,root) %doc COPYING NEWS README doc/* %doc sample @@ -107,11 +111,13 @@ rm -rf %{buildroot} %{_datadir}/syslinux/diag %files extlinux +%manifest syslinux.manifest %defattr(-,root,root) %{_sbindir}/extlinux /boot/extlinux %files tftpboot +%manifest syslinux.manifest %defattr(-,root,root) /var/lib/tftpboot -- 2.7.4