SPECS: adapter.awk - replace %{ant} with %ant (some fedora specs)

adamg adamg at pld-linux.org
Tue Jun 3 16:31:30 CEST 2008


Author: adamg                        Date: Tue Jun  3 14:31:30 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- replace %{ant} with %ant (some fedora specs)

---- Files affected:
SPECS:
   adapter.awk (1.396 -> 1.397) 

---- Diffs:

================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.396 SPECS/adapter.awk:1.397
--- SPECS/adapter.awk:1.396	Sat May 24 03:17:37 2008
+++ SPECS/adapter.awk	Tue Jun  3 16:31:23 2008
@@ -1317,8 +1317,9 @@
 	gsub("/usr/src/linux", "%{_kernelsrcdir}")
 	gsub("%{_prefix}/src/linux", "%{_kernelsrcdir}")
 
-	if (/^ant /) {
+	if (/^ant / || /^%{ant}/) {
 		sub(/^ant/, "%ant")
+		sub(/^%{ant}/, "%ant")
 		add_br("BuildRequires:  jpackage-utils");
 		add_br("BuildRequires:  rpmbuild(macros) >= 1.300");
 	}
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/adapter.awk?r1=1.396&r2=1.397&f=u



More information about the pld-cvs-commit mailing list