1 --- rpm-4.4.8/build/files.c.orig 2007-02-01 23:21:51.000000000 +0100
2 +++ rpm-4.4.8/build/files.c 2007-04-08 16:10:27.849202243 +0200
4 appendStringBuf(pkg->specialDoc, "cp -pr ");
5 appendStringBuf(pkg->specialDoc, specialDocBuf);
6 appendLineStringBuf(pkg->specialDoc, " \"$DOCDIR\"");
11 + compress_doc = rpmExpand("%{__compress_doc}", NULL);
12 + if (compress_doc && *compress_doc != '%')
13 + appendLineStringBuf(pkg->specialDoc, compress_doc);
20 --- rpm-4.5/platform.in~ 2008-04-13 02:54:35.000000000 +0300
21 +++ rpm-4.5/platform.in 2008-10-27 09:10:32.381772729 +0200
25 # Executed after copying %doc to DOCDIR, with $DOCDIR set
26 -#%__compress_doc @prefix@/lib/rpm/compress-doc%{?_noautocompressdoc: --noautocompressdoc='%{_noautocompressdoc}'}
27 +%__compress_doc @prefix@/lib/rpm/compress-doc%{?_noautocompressdoc: --noautocompressdoc='%{_noautocompressdoc}'}
29 @redhat@#---------------------------------------------------------------------
30 @redhat@# Expanded at end of %prep