commit 0428aa351d502d54f543b2d81b3575d744fc1768
Author: Elan Ruusamäe <[email protected]>
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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to