SPECS: adapter.awk - subst /usr/lib/pkgconfig with a macro - drop ...

glen glen at pld-linux.org
Sun Oct 9 15:31:04 CEST 2005


Author: glen                         Date: Sun Oct  9 13:31:04 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- subst /usr/lib/pkgconfig with a macro
- drop applnkdir macro touch (it's obsolete)

---- Files affected:
SPECS:
   adapter.awk (1.192 -> 1.193) 

---- Diffs:

================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.192 SPECS/adapter.awk:1.193
--- SPECS/adapter.awk:1.192	Sun Oct  9 15:27:54 2005
+++ SPECS/adapter.awk	Sun Oct  9 15:30:59 2005
@@ -837,6 +837,7 @@
 	}
 
 	gsub(examplesdir, "%{_examplesdir}")
+	gsub("/usr/lib/pkgconfig", "%{_libdir}/pkgconfig")
 
 	if (prefix != "/") {
 		for (c = 1; c <= NF; c++) {
@@ -853,11 +854,6 @@
 
 	gsub("%{PACKAGE_VERSION}", "%{version}")
 	gsub("%{PACKAGE_NAME}", "%{name}")
-
-	# we can move files between the dirs below
-	if ($0 !~ "%{_applnkdir}") {
-		gsub("%{_datadir}/gnome/apps", "%{_applnkdir}")
-	}
 
 	gsub("^make$", "%{__make}")
 	gsub("^make ", "%{__make} ")
================================================================

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




More information about the pld-cvs-commit mailing list