summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Ware <ryan.r.ware@intel.com>2012-05-29 17:49:40 -0700
committerRyan Ware <ryan.r.ware@intel.com>2012-05-29 17:49:40 -0700
commit4632c66ee9c996b1e9bf0b2e40faf6e2449bf1ed (patch)
treed9850dadf273fcd4bd15802dd67f9a08ee73b4d3
parenta976579f1c63224c75f12832f4466996b9b9f901 (diff)
downloadelfutils-1.0_post.tar.gz
elfutils-1.0_post.tar.bz2
elfutils-1.0_post.zip
Add default Smack manifest for elfutils.specHEAD2.0_alphamaster2.0alpha1.0_post
Change-Id: Ic1a840f775e296b8b6efa435a20f083125105463 Signed-off-by: Ryan Ware <ryan.r.ware@intel.com>
-rw-r--r--packaging/elfutils.manifest5
-rw-r--r--packaging/elfutils.spec9
2 files changed, 14 insertions, 0 deletions
diff --git a/packaging/elfutils.manifest b/packaging/elfutils.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/elfutils.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/elfutils.spec b/packaging/elfutils.spec
index 6f962c4..486786d 100644
--- a/packaging/elfutils.spec
+++ b/packaging/elfutils.spec
@@ -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