Red Hat Bugzilla – Bug 107781
hardcoding red hat in spec
Last modified: 2007-11-30 17:10:32 EST
In the esound spec, this is the second line:
%define __os_install_post /usr/lib/rpm/redhat/brp-compress
...isn't this always done?
This breaks aurora, or specifically, anything that has a different vendor dir
than /usr/lib/rpm/redhat (aurora has /usr/lib/rpm/aurora).
When this line is removed, during rpm creation, it is run as:
The only difference between these two scripts is:
--- /usr/lib/rpm/redhat/brp-compress 2003-09-17 07:36:32.000000000 -0500
+++ /usr/lib/rpm/brp-compress 2003-07-17 21:46:36.000000000 -0500
@@ -8,7 +8,7 @@
# Compress man pages
-COMPRESS="gzip -9 -n"
for d in ./usr/man/man* ./usr/man/*/man* ./usr/info \
... and -n is the default, so they're really identical.
Change the line to reference /usr/lib/rpm/brp-compress, or omit it altogether.
After some discussion with notting about this...
1) It was added on Aug 21 2002 by sopwith to "Fix some stupid bugs".
2) The top line looks wrong to me, while the bottom line does nothing.
So I removed both. Please test -2 when it hits rawhide to make sure
this does not break anything.