Switch to 0.5.2 version

Resolves: rhbz#2224598
This commit is contained in:
Dmitry Belyavskiy 2023-10-27 13:00:38 +02:00
parent 86be07ffe8
commit cf6fb8bc69
3 changed files with 12 additions and 6 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/0.5.0.tar.gz /0.5.0.tar.gz
/0.5.2.tar.gz

View File

@ -1,13 +1,14 @@
%global oqs_version 0.5.0 %global oqs_version 0.5.2
Name: oqsprovider Name: oqsprovider
Version: %{oqs_version} Version: %{oqs_version}
Release: 2%{?dist} Release: 1%{?dist}
Summary: oqsprovider is an OpenSSL provider for quantum-safe algorithms based on liboqs Summary: oqsprovider is an OpenSSL provider for quantum-safe algorithms based on liboqs
License: Apache-2.0 AND MIT License: Apache-2.0 AND MIT
URL: https://github.com/open-quantum-safe/oqs-provider.git URL: https://github.com/open-quantum-safe/oqs-provider.git
Source: https://github.com/open-quantum-safe/oqs-provider/archive/refs/tags/0.5.0.tar.gz Source: https://github.com/open-quantum-safe/oqs-provider/archive/refs/tags/0.5.2.tar.gz
#TODO increase version - 0.5.2 is in sync with liboqs 0.9.0 but doesn't require it
Requires: liboqs Requires: liboqs
Requires: openssl Requires: openssl
BuildRequires: ninja-build BuildRequires: ninja-build
@ -36,8 +37,8 @@ ctest -V
%install %install
mkdir -p $RPM_BUILD_ROOT/%{_libdir}/ossl-modules mkdir -p $RPM_BUILD_ROOT/%{_libdir}/ossl-modules
install %{_vpath_builddir}/lib/oqsprovider.so.%{oqs_version} $RPM_BUILD_ROOT/%{_libdir}/ossl-modules install %{_vpath_builddir}/lib/oqsprovider.so $RPM_BUILD_ROOT/%{_libdir}/ossl-modules
(cd $RPM_BUILD_ROOT/%{_libdir}/ossl-modules/ && ln -s oqsprovider.so.%{oqs_version} oqsprovider.so) (cd $RPM_BUILD_ROOT/%{_libdir}/ossl-modules/ && ln -s oqsprovider.so oqsprovider.so.%{oqs_version})
%files %files
%license LICENSE.txt %license LICENSE.txt
@ -45,6 +46,10 @@ install %{_vpath_builddir}/lib/oqsprovider.so.%{oqs_version} $RPM_BUILD_ROOT/%{_
%{_libdir}/ossl-modules/oqsprovider.so %{_libdir}/ossl-modules/oqsprovider.so
%changelog %changelog
* Fri Oct 27 2023 Dmitry Belyavskiy <dbelyavs@redhat.com> - 0.5.2-1
- Switch to 0.5.2 version
Resolves: rhbz#2224598
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-2 * Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (0.5.0.tar.gz) = b2ba707de58f640b065d195cd930568ab8cd733a465d29ce2878b17e01e5357dc7737bf61ae890dc5936a754b952d13cafb1c9a65fa95f4fc0eadc6ba80e9df8 SHA512 (0.5.2.tar.gz) = a439651a810e121aa887bf41b749a0c0092bab080074229f42f96352528c32024f51600ca4a18cf7dc2f2f70e41cba0fcddded6e07bce403b11a088bf862bd21