SPECS (DEVEL): adapter.spec, adapter.awk - make use of macros (fro...

glen glen at pld-linux.org
Wed Sep 7 19:17:08 CEST 2005


Author: glen                         Date: Wed Sep  7 17:17:08 2005 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- make use of macros (from commits list)

---- Files affected:
SPECS:
   adapter.spec (1.26.2.8 -> 1.26.2.9) , adapter.awk (1.179 -> 1.180) 

---- Diffs:

================================================================
Index: SPECS/adapter.spec
diff -u SPECS/adapter.spec:1.26.2.8 SPECS/adapter.spec:1.26.2.9
--- SPECS/adapter.spec:1.26.2.8	Tue Aug 23 22:34:51 2005
+++ SPECS/adapter.spec	Wed Sep  7 19:17:01 2005
@@ -74,6 +74,8 @@
 %{__make}
 cp -f /usr/share/automake/config.sub src/applets/kde/admin
 cp -f /usr/share/automake/config.sub config
+glib-gettextize --copy --force
+intltoolize --copy --force
 
 export UNSERMAKE=/usr/share/unsermake/unsermake
 
@@ -143,6 +145,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.26.2.9  2005/09/07 17:17:01  glen
+- make use of macros (from commits list)
+
 Revision 1.26.2.8  2005/08/23 20:34:51  glen
 - replace name and version with macros in %setup. req by PaSzCzUs
 

================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.179 SPECS/adapter.awk:1.180
--- SPECS/adapter.awk:1.179	Mon Sep  5 12:58:09 2005
+++ SPECS/adapter.awk	Wed Sep  7 19:17:01 2005
@@ -266,6 +266,10 @@
 		if (/^export[ ]*$/)
 			next
 	}
+	
+	# use macros
+	$0 = fixedsub("glib-gettextize --copy --force","%{__glib_gettextize}", $0);
+	$0 = fixedsub("intltoolize --copy --force", "%{__intltoolize}", $0);
 
 	# atrpms
 	$0 = fixedsub("%perl_configure", "%{__perl} Makefile.PL \\\n\tINSTALLDIRS=vendor", $0);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/adapter.spec?r1=1.26.2.8&r2=1.26.2.9&f=u
    http://cvs.pld-linux.org/SPECS/adapter.awk?r1=1.179&r2=1.180&f=u




More information about the pld-cvs-commit mailing list