From e9b514aefc4056f02656a06a23dca078de6bdced Mon Sep 17 00:00:00 2001 From: Ryan Ware Date: Tue, 29 May 2012 17:49:32 -0700 Subject: [PATCH] Add default Smack manifest for gdb.spec Change-Id: Ieec945af82909f4dd4ea7a2052054e3c53cd8ede Signed-off-by: Ryan Ware --- packaging/gdb.manifest | 5 +++++ packaging/gdb.spec | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 packaging/gdb.manifest diff --git a/packaging/gdb.manifest b/packaging/gdb.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/gdb.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/gdb.spec b/packaging/gdb.spec index 932a506..88d4fd8 100644 --- a/packaging/gdb.spec +++ b/packaging/gdb.spec @@ -7,6 +7,7 @@ Group: Development/Debuggers URL: http://gnu.org/software/gdb/ Source: ftp://ftp.gnu.org/gnu/gdb/gdb-%{version}.tar.bz2 Source101: gdb-rpmlintrc +Source1001: packaging/gdb.manifest Patch0: gdb-7.2-noreturn.patch Patch1: gdb-7.2-lib-order.patch @@ -60,6 +61,7 @@ rm -f gdb/doc/*.info rm -f gdb/doc/*.info-* %build +cp %{SOURCE1001} . rm -fr %{gdb_build} mkdir %{gdb_build} cd %{gdb_build} @@ -123,6 +125,7 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/lib{bfd*,opcodes*,iberty*,mmalloc*} rm -rf $RPM_BUILD_ROOT %files +%manifest gdb.manifest %defattr(-,root,root) %doc COPYING COPYING.LIB README NEWS %{_bindir}/gcore @@ -133,6 +136,7 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/gdb %files server +%manifest gdb.manifest %defattr(-,root,root) %{_bindir}/gdbserver %{_mandir}/*/gdbserver.1* -- 2.7.4