SPECS: adapter.awk - use autotools macros
glen
glen at pld-linux.org
Tue Nov 22 21:57:59 CET 2005
Author: glen Date: Tue Nov 22 20:57:58 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use autotools macros
---- Files affected:
SPECS:
adapter.awk (1.211 -> 1.212)
---- Diffs:
================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.211 SPECS/adapter.awk:1.212
--- SPECS/adapter.awk:1.211 Wed Nov 16 23:45:04 2005
+++ SPECS/adapter.awk Tue Nov 22 21:57:52 2005
@@ -289,6 +289,7 @@
next
}
+ # quote CC
if (/CC=%{__cc} /) {
sub("CC=%{__cc}", "CC=\"%{__cc}\"")
}
@@ -296,6 +297,12 @@
# use macros
$0 = fixedsub("glib-gettextize --copy --force","%{__glib_gettextize}", $0);
$0 = fixedsub("intltoolize --copy --force", "%{__intltoolize}", $0);
+ $0 = fixedsub("automake --add-missing --copy", "%{__automake}", $0);
+
+ sub(/^aclocal$/, "%{__aclocal}");
+ sub(/^autoheader$/, "%{__autoheader}");
+ sub(/^autoconf$/, "%{__autoconf}");
+ sub(/^automake$/, "%{__automake}");
# atrpms
$0 = fixedsub("%perl_configure", "%{__perl} Makefile.PL \\\n\tINSTALLDIRS=vendor", $0);
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/adapter.awk?r1=1.211&r2=1.212&f=u
More information about the pld-cvs-commit
mailing list