]> git.pld-linux.org Git - packages/zlib.git/commitdiff
- asmopt off of ac-i586 (more info from blues) auto/ac/zlib-1_2_3-7
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 25 Jan 2009 15:04:02 +0000 (15:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    zlib.spec -> 1.107

zlib.spec

index 0e72d2da31741a2cdb5933f003ddfcefe6351c32..2f107082470d7e6a93101327051c7b0ea00b8868 100644 (file)
--- a/zlib.spec
+++ b/zlib.spec
@@ -9,6 +9,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
@@ -20,13 +31,14 @@ Summary(tr.UTF-8):  Sıkıştırma işlemleri için kitaplık
 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)
 
This page took 0.035742 seconds and 4 git commands to generate.