summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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