Fix versioning
OBS-URL: https://build.opensuse.org/package/show/security:tls/openssl-3?expand=0&rev=4
This commit is contained in:
parent
703666d411
commit
d69e9971a8
@ -19,19 +19,21 @@
|
|||||||
%define ssletcdir %{_sysconfdir}/ssl
|
%define ssletcdir %{_sysconfdir}/ssl
|
||||||
%define sover 3
|
%define sover 3
|
||||||
%define _rname openssl
|
%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
|
Name: openssl-3
|
||||||
# Don't forget to update the version in the "openssl" package!
|
# Don't forget to update the version in the "openssl" package!
|
||||||
Version: 3.0.0~alpha1
|
Version: %{vernum}~%{relnum}
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Secure Sockets and Transport Layer Security
|
Summary: Secure Sockets and Transport Layer Security
|
||||||
License: OpenSSL
|
License: OpenSSL
|
||||||
URL: https://www.openssl.org/
|
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:
|
# to get mtime of file:
|
||||||
Source1: %{name}.changes
|
Source1: %{name}.changes
|
||||||
Source2: baselibs.conf
|
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/
|
# https://www.openssl.org/about/
|
||||||
# http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xA2D29B7BF295C759#/openssl.keyring
|
# http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xA2D29B7BF295C759#/openssl.keyring
|
||||||
Source4: %{_rname}.keyring
|
Source4: %{_rname}.keyring
|
||||||
@ -103,7 +105,7 @@ This package contains optional documentation provided in addition to
|
|||||||
this package's base documentation.
|
this package's base documentation.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{_rname}-%{xversion}
|
%setup -q -n %{_rname}-%{dash_version}
|
||||||
%autopatch -p1
|
%autopatch -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Loading…
Reference in New Issue
Block a user