]> git.pld-linux.org Git - packages/rpm-build-tools.git/blobdiff - adapter.awk
- subst /usr/lib/pkgconfig with a macro
[packages/rpm-build-tools.git] / adapter.awk
index 7ae8632338622059524d629c5f7041cba1d54cc0..51099eb94ad55ab09f0c158cab73ab75a98fcd67 100644 (file)
@@ -837,6 +837,7 @@ function use_macros()
        }
 
        gsub(examplesdir, "%{_examplesdir}")
+       gsub("/usr/lib/pkgconfig", "%{_libdir}/pkgconfig")
 
        if (prefix != "/") {
                for (c = 1; c <= NF; c++) {
@@ -854,11 +855,6 @@ function use_macros()
        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} ")
        gsub("^gcc ", "%{__cc} ")
This page took 0.028123 seconds and 4 git commands to generate.