diff --git a/openssl-3.spec b/openssl-3.spec index ee8d5f5..f9064f5 100644 --- a/openssl-3.spec +++ b/openssl-3.spec @@ -19,19 +19,21 @@ %define ssletcdir %{_sysconfdir}/ssl %define sover 3 %define _rname openssl -%define xversion 3.0.0-alpha2 +%define vernum 3.0.0 +%define relnum alpha2 +%define dash_version %{vernum}-%{relnum} Name: openssl-3 # Don't forget to update the version in the "openssl" package! -Version: 3.0.0~alpha1 +Version: %{vernum}~%{relnum} Release: 0 Summary: Secure Sockets and Transport Layer Security License: OpenSSL URL: https://www.openssl.org/ -Source: https://www.%{_rname}.org/source/%{_rname}-%{xversion}.tar.gz +Source: https://www.%{_rname}.org/source/%{_rname}-%{dash_version}.tar.gz # to get mtime of file: Source1: %{name}.changes Source2: baselibs.conf -Source3: https://www.%{_rname}.org/source/%{_rname}-%{xversion}.tar.gz.asc +Source3: https://www.%{_rname}.org/source/%{_rname}-%{dash_version}.tar.gz.asc # https://www.openssl.org/about/ # http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xA2D29B7BF295C759#/openssl.keyring Source4: %{_rname}.keyring @@ -103,7 +105,7 @@ This package contains optional documentation provided in addition to this package's base documentation. %prep -%setup -q -n %{_rname}-%{xversion} +%setup -q -n %{_rname}-%{dash_version} %autopatch -p1 %build