SPECS: cryptlib.spec - use CC and optflags
qboosh
qboosh at pld-linux.org
Mon Feb 20 20:35:37 CET 2006
Author: qboosh Date: Mon Feb 20 19:35:37 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use CC and optflags
---- Files affected:
SPECS:
cryptlib.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/cryptlib.spec
diff -u SPECS/cryptlib.spec:1.2 SPECS/cryptlib.spec:1.3
--- SPECS/cryptlib.spec:1.2 Mon Feb 20 18:43:28 2006
+++ SPECS/cryptlib.spec Mon Feb 20 20:35:32 2006
@@ -9,6 +9,7 @@
Source0: ftp://ftp.franken.de/pub/crypt/cryptlib/cl322.zip
# Source0-md5: 0944963faae4566f54aeb45c6e803142
URL: http://www.cs.auckland.ac.nz/~pgut001/cryptlib/
+BuildRequires: sed >= 4.0
BuildRequires: unzip
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -60,11 +61,14 @@
%setup -q -T -c
unzip -L -a %{SOURCE0}
+sed -i -e 's/ -O3 / %{rpmcflags} /' makefile
+
%build
%{__make} \
- CMDC="%{rpmcflags}"
+ CC="%{__cc}"
+
%{__make} shared \
- CMDC="%{rpmcflags}"
+ CC="%{__cc}"
%install
rm -rf $RPM_BUILD_ROOT
@@ -100,6 +104,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2006/02/20 19:35:32 qboosh
+- use CC and optflags
+
Revision 1.2 2006/02/20 17:43:28 qboosh
- pl, separated -static, fixed lib paths, cleanups
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/cryptlib.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list