[packages/adapter: 364/631] - subst %{_libdir} -- it's more common to use %{_libdir} than %{_prefix}/lib and as existing %{_pref

glen glen at pld-linux.org
Mon Sep 12 20:04:57 CEST 2016


commit e00f41b5827618fccde5e5c35cada9fb3ac804cd
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sat Mar 3 13:21:54 2007 +0000

    - subst %{_libdir} -- it's more common to use %{_libdir} than %{_prefix}/lib and as existing %{_prefix}/lib aren't touched this should be safe change
    
    Changed files:
        adapter.awk -> 1.351

 adapter.awk | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 5acc17d..2ba1ffd 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1109,6 +1109,8 @@ function use_macros()
 	gsub("%{_datadir}/applications", "%{_desktopdir}")
 	gsub("%{_datadir}/pixmaps", "%{_pixmapsdir}")
 
+	gsub(libdir, "%{_libdir}")
+
 	gsub(bindir, "%{_bindir}")
 	gsub("%{prefix}/bin", "%{_bindir}")
 	if (prefix"/bin" == bindir)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list