[packages/rpm-build-tools] leave alone with -DSOMETHING=/path/to/bin
glen
glen at pld-linux.org
Thu May 8 11:19:18 CEST 2014
commit 0428aa351d502d54f543b2d81b3575d744fc1768
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu May 8 12:18:59 2014 +0300
leave alone with -DSOMETHING=/path/to/bin
adapter.awk | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index d10b4ba..525fb0c 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1087,6 +1087,11 @@ function use_macros()
return;
}
+ # leave alone with -DSOMETHING=/path/to/bin
+ if (/-D.+=.+/) {
+ return
+ }
+
sub("%{_defaultdocdir}", "%{_docdir}");
sub("%{_datadir}/doc", "%{_docdir}");
sub("%{_bindir}/perl", "%{__perl}");
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/0428aa351d502d54f543b2d81b3575d744fc1768
More information about the pld-cvs-commit
mailing list