]> git.pld-linux.org Git - packages/rpm-build-macros.git/blobdiff - rpm.macros
- add __configure_sh macro to be able to run ./configure with bash for example
[packages/rpm-build-macros.git] / rpm.macros
index efa438152dab9ed1bea9feca7d9add235d6b031d..795b31dff8740b2b248edf33986b2b5b10bd8276 100644 (file)
                                else if ( v == "\\\\" )
                                        v = "\\\\\\\\";
                                else
-                                       gsub( "[^a-zA-Z0-9/]", "\\"&\\"", v );
+                                       gsub( "[^a-zA-Z0-9/:._-]", "\\"&\\"", v );
                                val = val "" v;
                        }
                        printf( val " " );
@@ -228,7 +228,8 @@ CXXFLAGS="%{rpmcxxflags}" \
 #%configure_cache 0
 %configure_cache_file  %{buildroot}.configure.cache
 
-%configure {./configure \
+%__configure_sh sh
+%configure {%__configure_sh ./configure \
        LDFLAGS="${LDFLAGS:-%rpmldflags}" \
        CFLAGS="${CFLAGS:-%rpmcflags}" \
        CXXFLAGS="${CXXFLAGS:-%rpmcxxflags}" \
This page took 0.047043 seconds and 4 git commands to generate.