]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- add %cc_version, %cxx_version
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 11 Aug 2008 12:52:52 +0000 (12:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    adapter.awk -> 1.399

adapter.awk

index e33c63063f0562808b2f39305839e441c316cd57..65277753ec8125672204e5ceebef7a499dd30d88 100644 (file)
@@ -1326,6 +1326,8 @@ function use_macros()
                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) {
This page took 0.032621 seconds and 4 git commands to generate.