SPECS: adapter.awk - replace %{_examplesdir} macro

glen glen at pld-linux.org
Sat Jul 16 17:19:44 CEST 2005


Author: glen                         Date: Sat Jul 16 15:19:44 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- replace %{_examplesdir} macro

---- Files affected:
SPECS:
   adapter.awk (1.162 -> 1.163) 

---- Diffs:

================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.162 SPECS/adapter.awk:1.163
--- SPECS/adapter.awk:1.162	Fri Jul 15 09:01:45 2005
+++ SPECS/adapter.awk	Sat Jul 16 17:19:38 2005
@@ -49,6 +49,7 @@
 	"rpm --eval %_includedir" | getline includedir
 	"rpm --eval %_mandir"	| getline mandir
 	"rpm --eval %_infodir"	| getline infodir
+	"rpm --eval %_examplesdir"	| getline examplesdir
 
 	"rpm --eval %perl_sitearch" | getline perl_sitearch
 	"rpm --eval %perl_archlib" | getline perl_archlib
@@ -670,6 +671,8 @@
 	if (prefix !~ "/X11R6") {
 		gsub("%{_datadir}/aclocal", "%{_aclocaldir}")
 	}
+
+	gsub(examplesdir, "%{_examplesdir}")
 
 	if (prefix != "/") {
 		for (c = 1; c <= NF; c++) {
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/adapter.awk?r1=1.162&r2=1.163&f=u




More information about the pld-cvs-commit mailing list