rpm/rpm-4.4.8-brp_generic.patch

23 lines
758 B
Diff
Raw Permalink Normal View History

Only in rpm-4.4.8/scripts: brp-infodir.brp_infodir
diff -ru rpm-4.4.8.orig/scripts/brp-redhat.in rpm-4.4.8/scripts/brp-redhat.in
--- rpm-4.4.8.orig/scripts/brp-redhat.in 2007-02-03 19:43:28.000000000 +0100
+++ rpm-4.4.8/scripts/brp-redhat.in 2008-01-16 12:46:12.000000000 +0100
@@ -3,11 +3,17 @@
# These are the build root policies that rpm invokes at the end
# of the %install scriptlet.
+# Delete the /usr/share/info/dir files
+@USRLIBRPM@/brp-infodir
+
# Compress man pages (usually with gzip)
@USRLIBRPM@/brp-compress
# Strip ELF binaries (ussually with binutils).
@USRLIBRPM@/brp-strip
+# Strip static libraries
+@USRLIBRPM@/brp-strip-static-archive
+
# Strip even more sections (usually with binutils).
@USRLIBRPM@/brp-strip-comment-note