summaryrefslogtreecommitdiffstats
path: root/openssl.spec
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2001-04-11 10:06:44 +0000
committerRichard Levitte <levitte@openssl.org>2001-04-11 10:06:44 +0000
commitec11fa2159d6f93db9c520b4e0ebfd0e4a2421bf (patch)
tree04885137d4d80b63655e6ffbe319bf03f56f4229 /openssl.spec
parentc4365acc48f1d62d670fcb840973a4c2cf5457fd (diff)
NetBSD and OpenBSD use TOD as well
Diffstat (limited to 'openssl.spec')
-rw-r--r--openssl.spec13
1 files changed, 7 insertions, 6 deletions
diff --git a/openssl.spec b/openssl.spec
index d7be413937..09a8a0a151 100644
--- a/openssl.spec
+++ b/openssl.spec
@@ -2,6 +2,9 @@
%define libmin 9
%define librel 6
%define librev a
+%define libstatus beta3_dev
+%define fileversion %{libmaj}.%{libmin}.%{librel}%{librev}-beta3-dev
+%define rpmversion %{libmaj}.%{libmin}.%{librel}%{librev}_%{libstatus}
Release: 1
%define openssldir /var/ssl
@@ -9,8 +12,8 @@ Release: 1
Summary: Secure Sockets Layer and cryptography libraries and tools
Name: openssl
#Version: %{libmaj}.%{libmin}.%{librel}
-Version: %{libmaj}.%{libmin}.%{librel}%{librev}
-Source0: ftp://ftp.openssl.org/source/%{name}-%{version}.tar.gz
+Version: %{rpmversion}
+Source0: ftp://ftp.openssl.org/source/%{name}-%{fileversion}.tar.gz
Copyright: Freely distributable
Group: System Environment/Libraries
Provides: SSL
@@ -79,7 +82,7 @@ documentation and POD files from which the man pages were produced.
%prep
-%setup -q
+%setup -n %{name}-%{fileversion}
%build
@@ -96,9 +99,7 @@ perl util/perlpath.pl /usr/bin/perl
%ifarch alpha
./Configure %{CONFIG_FLAGS} --openssldir=%{openssldir} linux-alpha shared
%endif
-LD_LIBRARY_PATH=`pwd` make
-LD_LIBRARY_PATH=`pwd` make rehash
-LD_LIBRARY_PATH=`pwd` make test
+LD_LIBRARY_PATH=`pwd` ( make && make rehash && make test )
%install
rm -rf $RPM_BUILD_ROOT