SPECS: puretls.spec - cosmetics, allow build-classpath to fail
glen
glen at pld-linux.org
Fri Apr 3 15:43:07 CEST 2009
Author: glen Date: Fri Apr 3 13:43:06 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- cosmetics, allow build-classpath to fail
---- Files affected:
SPECS:
puretls.spec (1.11 -> 1.12)
---- Diffs:
================================================================
Index: SPECS/puretls.spec
diff -u SPECS/puretls.spec:1.11 SPECS/puretls.spec:1.12
--- SPECS/puretls.spec:1.11 Fri Apr 3 14:50:50 2009
+++ SPECS/puretls.spec Fri Apr 3 15:43:01 2009
@@ -1,13 +1,13 @@
# $Revision$, $Date$
+%define beta b4
Summary: Java implementation of SSLv3 and TLSv1
Summary(pl.UTF-8): Implementacja SSLv3 i TLSv1 w Javie
Name: puretls
Version: 0.9
-%define beta b4
Release: 0.%{beta}.1
License: BSD-like
Group: Development/Languages/Java
-Source0: http://www.mirrors.wiretapped.net/security/cryptography/libraries/tls/%{name}/%{name}-%{version}%{beta}.tar.gz
+Source0: http://www.mirrors.wiretapped.net/security/cryptography/libraries/tls/puretls/%{name}-%{version}%{beta}.tar.gz
# Source0-md5: b2e4e947af30387b86dbf3473fdbd103
URL: http://www.rtfm.com/puretls/
BuildRequires: ant
@@ -16,6 +16,7 @@
BuildRequires: java-gnu-getopt
BuildRequires: jpackage-utils
BuildRequires: rpmbuild(macros) >= 1.300
+BuildRequires: sed >= 4.0
%if %(locale -a | grep -q '^en_US$'; echo $?)
BuildRequires: glibc-localedb-all
%endif
@@ -53,16 +54,17 @@
%prep
%setup -q -n %{name}-%{version}%{beta}
-find . -type f |
+find -type f | \
xargs grep -l "/usr/local/bin/perl5" | \
- xargs perl -pi -e "s|/usr/local/bin/perl5|/usr/bin/perl|g;"
-find . -type f |
+ xargs sed -i -e "s|/usr/local/bin/perl5|/usr/bin/perl|g;"
+find -type f | \
xargs grep -l "/usr/local/bin/perl" | \
- xargs perl -pi -e "s|/usr/local/bin/perl|/usr/bin/perl|g;"
+ xargs sed -i -e "s|/usr/local/bin/perl|/usr/bin/perl|g;"
%build
required_jars="cryptix cryptix-asn1 gnu-getopt"
-export CLASSPATH=$(/usr/bin/build-classpath $required_jars)
+CLASSPATH=$(build-classpath $required_jars)
+export CLASSPATH
export LC_ALL=en_US # source code not US-ASCII
%ant \
@@ -106,6 +108,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.12 2009/04/03 13:43:01 glen
+- cosmetics, allow build-classpath to fail
+
Revision 1.11 2009/04/03 12:50:50 pawelz
- gnu.getopt has been renamed to java-gnu-getopt, and gnu.getop.jar is
gnu-getopt.jar now.
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/puretls.spec?r1=1.11&r2=1.12&f=u
More information about the pld-cvs-commit
mailing list