]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- subst /usr/lib/pkgconfig with a macro
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 9 Oct 2005 13:30:59 +0000 (13:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- drop applnkdir macro touch (it's obsolete)

Changed files:
    adapter.awk -> 1.193

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.039035 seconds and 4 git commands to generate.