[packages/openssl102: 225/432] - rel 4; fix config.5 symlink; add tests bcond

adwol adwol at pld-linux.org
Sat Sep 29 01:20:29 CEST 2018


commit 94d58138bbe079225bf97fb80379999b0a20544a
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Feb 15 19:16:17 2007 +0000

    - rel 4; fix config.5 symlink; add tests bcond
    
    Changed files:
        openssl.spec -> 1.167

 openssl.spec | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/openssl.spec b/openssl.spec
index cee3e4c..09ecac7 100644
--- a/openssl.spec
+++ b/openssl.spec
@@ -1,5 +1,6 @@
 #
 # Conditional build:
+%bcond_without	tests
 %bcond_with purify	# Compile openssl with \-DPURIFY, useful when one wants to
 			# use valgrind debugger against openssl-linked programs
 #
@@ -14,7 +15,7 @@ Summary(ru.UTF-8):	Библиотеки и утилиты для соедине
 Summary(uk.UTF-8):	Бібліотеки та утиліти для з'єднань через Secure Sockets Layer
 Name:		openssl
 Version:	0.9.8d
-Release:	3
+Release:	4
 License:	Apache-style License
 Group:		Libraries
 Source0:	ftp://ftp.openssl.org/source/%{name}-%{version}.tar.gz
@@ -244,7 +245,7 @@ export OPTFLAGS LDFLAGS
 	linux64-sparcv9
 %endif
 
-%{__make} -j1 all rehash tests \
+%{__make} -j1 all rehash %{?with_tests:tests} \
 	CC="%{__cc}" \
 	INSTALLTOP=%{_prefix}
 
@@ -338,6 +339,8 @@ install %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}/ssl-certificate
 
 rm $RPM_BUILD_ROOT%{_mandir}/man5/x509v3_config.5
 echo ".so openssl_x509v3_config.5" > $RPM_BUILD_ROOT%{_mandir}/man5/x509v3_config.5
+rm $RPM_BUILD_ROOT%{_mandir}/man5/config.5
+echo ".so openssl_config.5" > $RPM_BUILD_ROOT%{_mandir}/man5/config.5
 rm $RPM_BUILD_ROOT%{_mandir}/man7/Modes_of_DES.7
 echo ".so openssl_des_modes.7" > $RPM_BUILD_ROOT%{_mandir}/man7/Modes_of_DES.7
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openssl102.git/commitdiff/9fc1b1b87b259e8a327c99835865e91a391efc9e



More information about the pld-cvs-commit mailing list