]> git.pld-linux.org Git - packages/rpm.git/blame - rpm-add-compress-doc.patch
- drop python2 bcond and package, switch deps yo python 3
[packages/rpm.git] / rpm-add-compress-doc.patch
CommitLineData
79191ca9
JR
1--- rpm-5.4.10/build/files.c~ 2013-01-25 13:14:36.692060288 +0100
2+++ rpm-5.4.10/build/files.c 2013-02-25 12:03:26.110910465 +0100
3@@ -2380,6 +2380,15 @@
4 appendLineStringBuf(docScript, " ||:");
5 free(efn);
6 }
7+
8+ {
9+ char *compress_doc;
10+
11+ compress_doc = rpmExpand("%{__compress_doc}", NULL);
12+ if (compress_doc && *compress_doc != '%')
13+ appendLineStringBuf(docScript, compress_doc);
14+ compress_doc = _free(compress_doc);
15+ }
16
17 if (install) {
18 if (doScript(spec, RPMBUILD_STRINGBUF, sdname,
This page took 0.032058 seconds and 4 git commands to generate.