[packages/openssl/dev-1.1] fix version check

glen glen at pld-linux.org
Sat Aug 6 00:57:00 CEST 2016


commit 6b0a00b5c95bc5726fbb4f0da12349bb90f793e4
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Aug 6 01:56:50 2016 +0300

    fix version check

 openssl.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/openssl.spec b/openssl.spec
index 8b431ce..d9bb0d9 100644
--- a/openssl.spec
+++ b/openssl.spec
@@ -349,7 +349,7 @@ PERL="%{__perl}" \
 %endif
 
 v=$(awk -F= '/^VERSION/{print $2}' Makefile)
-test "$v" = %{version}%{?with_snap:-dev}
+test "$v" = %{version}%{?subver:-%{subver}}%{?with_snap:-dev}
 
 %{__make} -j1 all rehash %{?with_tests:tests} \
 	CC="%{__cc}" \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openssl.git/commitdiff/6b0a00b5c95bc5726fbb4f0da12349bb90f793e4



More information about the pld-cvs-commit mailing list