SPECS: openssh.spec - more general lib64 subst

qboosh qboosh at pld-linux.org
Thu Aug 18 09:09:06 CEST 2005


Author: qboosh                       Date: Thu Aug 18 07:09:06 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- more general lib64 subst

---- Files affected:
SPECS:
   openssh.spec (1.234 -> 1.235) 

---- Diffs:

================================================================
Index: SPECS/openssh.spec
diff -u SPECS/openssh.spec:1.234 SPECS/openssh.spec:1.235
--- SPECS/openssh.spec:1.234	Thu Aug 18 01:27:23 2005
+++ SPECS/openssh.spec	Thu Aug 18 09:09:01 2005
@@ -504,8 +504,8 @@
 
 touch $RPM_BUILD_ROOT/etc/security/blacklist.sshd
 
-%ifarch amd64
-find $RPM_BUILD_ROOT%{_sysconfdir} -type f -print0 | xargs -0 perl -pi -e "s#/usr/lib#/usr/lib64#"
+%if "%{_lib}" != "lib"
+find $RPM_BUILD_ROOT%{_sysconfdir} -type f -print0 | xargs -0 perl -pi -e "s#/usr/lib#/usr/%{_lib}#"
 %endif
 
 cat << EOF >$RPM_BUILD_ROOT/etc/env.d/SSH_ASKPASS
@@ -615,6 +615,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.235  2005/08/18 07:09:01  qboosh
+- more general lib64 subst
+
 Revision 1.234  2005/08/17 23:27:23  aredridel
 - use lib64 in config files for amd64
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/openssh.spec?r1=1.234&r2=1.235&f=u




More information about the pld-cvs-commit mailing list