SPECS: qmail.spec - lib64 fix

glen glen at pld-linux.org
Mon May 19 23:11:18 CEST 2008


Author: glen                         Date: Mon May 19 21:11:18 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- lib64 fix

---- Files affected:
SPECS:
   qmail.spec (1.177 -> 1.178) 

---- Diffs:

================================================================
Index: SPECS/qmail.spec
diff -u SPECS/qmail.spec:1.177 SPECS/qmail.spec:1.178
--- SPECS/qmail.spec:1.177	Mon May 19 22:57:27 2008
+++ SPECS/qmail.spec	Mon May 19 23:11:12 2008
@@ -220,6 +220,7 @@
 Requires:	openssl-tools >= 0.9.7d
 %endif
 BuildRequires:	rpmbuild(macros) >= 1.268
+BuildRequires:	sed >= 4.0
 Requires(post):	/bin/hostname
 Requires(post):	/bin/id
 Requires(post):	/bin/sed
@@ -465,6 +466,12 @@
 	patch -p2 < $a
 done
 
+# tcpserver (ucspi-tcp)
+%if "%{_lib}" != "lib"
+PV=$(basename %{SOURCE6})
+%{__sed} -i -e 's,/usr/lib/qmail,%{_libdir}/qmail,g' ${PV%.tar.bz2}/*
+%endif
+
 echo %{varqmail} > conf-qmail
 
 # setup compiler. we use CFLAGS redefine rather using conditional patching.
@@ -1199,6 +1206,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.178  2008-05-19 21:11:12  glen
+- lib64 fix
+
 Revision 1.177  2008-05-19 20:57:27  glen
 - fixes for /var/qmail move. sending works
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/qmail.spec?r1=1.177&r2=1.178&f=u



More information about the pld-cvs-commit mailing list