SPECS: adapter.awk - add %cc_version, %cxx_version
glen
glen at pld-linux.org
Mon Aug 11 14:52:57 CEST 2008
Author: glen Date: Mon Aug 11 12:52:57 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- add %cc_version, %cxx_version
---- Files affected:
SPECS:
adapter.awk (1.398 -> 1.399)
---- Diffs:
================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.398 SPECS/adapter.awk:1.399
--- SPECS/adapter.awk:1.398 Thu Jul 31 11:02:59 2008
+++ SPECS/adapter.awk Mon Aug 11 14:52:52 2008
@@ -1326,6 +1326,8 @@
add_br("BuildRequires: rpmbuild(macros) >= 1.300");
}
+ $0 = fixedsub("%(%{__cc} -dumpversion)", "%{cc_version}", $0);
+ $0 = fixedsub("%(%{__cxx} -dumpversion)", "%{cxx_version}", $0);
}
function format_configure(line, n, a, s) {
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/adapter.awk?r1=1.398&r2=1.399&f=u
More information about the pld-cvs-commit
mailing list