SPECS: zlib.spec - asmopt off of ac-i586 (more info from blues)

glen glen at pld-linux.org
Sun Jan 25 16:04:08 CET 2009


Author: glen                         Date: Sun Jan 25 15:04:08 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- asmopt off of ac-i586 (more info from blues)

---- Files affected:
SPECS:
   zlib.spec (1.106 -> 1.107) 

---- Diffs:

================================================================
Index: SPECS/zlib.spec
diff -u SPECS/zlib.spec:1.106 SPECS/zlib.spec:1.107
--- SPECS/zlib.spec:1.106	Fri Jan 23 14:17:08 2009
+++ SPECS/zlib.spec	Sun Jan 25 16:04:02 2009
@@ -10,6 +10,17 @@
 %if %{with pax} && %{with asmopt}
 %undefine	with_asmopt
 %endif
+
+%if "%{pld_release}" == "ac"
+# on 2.4 kernel i586 doesn't work either:
+# open("/usr/lib/libcrypto.so.0.9.7", O_RDONLY) = 3
+# ...
+# mprotect...= -1 EINVAL (Invalid argument)
+# mprotect...= -1 ENOMEM (Cannot allocate memory)
+%ifarch i586
+%undefine	with_asmopt
+%endif
+%endif
 Summary:	Library for compression and decompression
 Summary(de.UTF-8):	Library für die Komprimierung und Dekomprimierung
 Summary(es.UTF-8):	Biblioteca para compresión y descompresión
@@ -21,13 +32,14 @@
 Summary(uk.UTF-8):	Бібліотека для компресії та декомпресії
 Name:		zlib
 Version:	1.2.3
-Release:	6
+Release:	7
 License:	BSD
 Group:		Libraries
 Source0:	http://www.zlib.net/%{name}-%{version}.tar.gz
 # Source0-md5:	debc62758716a169df9f62e6ab2bc634
 Patch0:		%{name}-asmopt.patch
 URL:		http://www.zlib.net/
+BuildRequires:	rpm >= 4.4.9-56
 Obsoletes:	zlib1
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -314,6 +326,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.107  2009/01/25 15:04:02  glen
+- asmopt off of ac-i586 (more info from blues)
+
 Revision 1.106  2009/01/23 13:17:08  glen
 - cosmetic
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/zlib.spec?r1=1.106&r2=1.107&f=u



More information about the pld-cvs-commit mailing list