Add default Smack manifest for elfutils.spec 1.0_post 2.0alpha master 2.0_alpha
authorRyan Ware <ryan.r.ware@intel.com>
Wed, 30 May 2012 00:49:40 +0000 (17:49 -0700)
committerRyan Ware <ryan.r.ware@intel.com>
Wed, 30 May 2012 00:49:40 +0000 (17:49 -0700)
Change-Id: Ic1a840f775e296b8b6efa435a20f083125105463
Signed-off-by: Ryan Ware <ryan.r.ware@intel.com>
packaging/elfutils.manifest [new file with mode: 0644]
packaging/elfutils.spec

diff --git a/packaging/elfutils.manifest b/packaging/elfutils.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
index 6f962c4..486786d 100644 (file)
@@ -15,6 +15,7 @@ Summary:        A collection of utilities and DSOs to handle compiled objects
 Url:            https://fedorahosted.org/elfutils/
 Group:          Development/Tools
 Source:         http://fedorahosted.org/releases/e/l/elfutils/%{name}-%{version}.tar.bz2
+Source1001: packaging/elfutils.manifest 
 Patch1:         elfutils-robustify.patch
 Patch2:         elfutils-portability.patch
 Requires:       elfutils-libelf-%{_arch} = %{version}
@@ -127,6 +128,7 @@ sed -i.scanf-m -e 's/%m/%a/g' src/addr2line.c tests/line2addr.c
 find . -name \*.sh ! -perm -0100 -print | xargs chmod +x
 
 %build
+cp %{SOURCE1001} .
 # Remove -Wall from default flags.  The makefiles enable enough warnings
 # themselves, and they use -Werror.  Appending -Wall defeats the cases where
 # the makefiles disable some specific warnings for specific code.
@@ -162,6 +164,7 @@ rm -rf %{buildroot}
 %postun libelf -p /sbin/ldconfig
 
 %files
+%manifest elfutils.manifest
 %defattr(-,root,root)
 %doc README  COPYING
 %{_bindir}/eu-addr2line
@@ -181,6 +184,7 @@ rm -rf %{buildroot}
 %{_bindir}/eu-make-debug-archive
 
 %files libs
+%manifest elfutils.manifest
 %defattr(-,root,root)
 %{_libdir}/libasm-%{version}.so
 %{_libdir}/libasm.so.*
@@ -190,6 +194,7 @@ rm -rf %{buildroot}
 %{_libdir}/elfutils/lib*.so
 
 %files devel
+%manifest elfutils.manifest
 %defattr(-,root,root)
 %{_includedir}/dwarf.h
 %dir %{_includedir}/elfutils
@@ -204,16 +209,19 @@ rm -rf %{buildroot}
 %{_libdir}/libdw.so
 
 %files devel-static
+%manifest elfutils.manifest
 %defattr(-,root,root)
 %{_libdir}/libasm.a
 %{_libdir}/libdw.a
 
 %files libelf
+%manifest elfutils.manifest
 %defattr(-,root,root)
 %{_libdir}/libelf-%{version}.so
 %{_libdir}/libelf.so.*
 
 %files libelf-devel
+%manifest elfutils.manifest
 %defattr(-,root,root)
 %{_includedir}/libelf.h
 %{_includedir}/gelf.h
@@ -221,6 +229,7 @@ rm -rf %{buildroot}
 %{_libdir}/libelf.so
 
 %files libelf-devel-static
+%manifest elfutils.manifest
 %defattr(-,root,root)
 %{_libdir}/libelf.a