Compare commits
No commits in common. "rawhide" and "f39" have entirely different histories.
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1 @@
|
||||
/0.8.0.tar.gz
|
||||
/0.9.0.tar.gz
|
||||
|
31
liboqs.spec
31
liboqs.spec
@ -1,7 +1,7 @@
|
||||
%global oqs_version 0.9.0
|
||||
%global oqs_version 0.8.0
|
||||
Name: liboqs
|
||||
Version: %{oqs_version}
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: liboqs is an open source C library for quantum-safe cryptographic algorithms.
|
||||
|
||||
#liboqs uses MIT license by itself but includes several files licensed under different terms.
|
||||
@ -10,16 +10,16 @@ Summary: liboqs is an open source C library for quantum-safe cryptographic al
|
||||
#see https://github.com/open-quantum-safe/liboqs/blob/main/README.md#license for more details
|
||||
License: MIT AND Apache 2.0 AND BSD 3-Clause AND (BSD-3-Clause OR GPL-1.0-or-later) AND CC0-1.0 AND Unlicense
|
||||
URL: https://github.com/open-quantum-safe/liboqs.git
|
||||
Source: https://github.com/open-quantum-safe/liboqs/archive/refs/tags/0.9.0.tar.gz
|
||||
Source: https://github.com/open-quantum-safe/liboqs/archive/refs/tags/0.8.0.tar.gz
|
||||
#Source: liboqs-0.8.0-dev.tar.gz
|
||||
|
||||
BuildRequires: ninja-build
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc
|
||||
BuildRequires: astyle
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: python3-pytest
|
||||
%if %{undefined rhel}
|
||||
BuildRequires: python3-pytest-xdist
|
||||
%endif
|
||||
BuildRequires: unzip
|
||||
BuildRequires: xsltproc
|
||||
#BuildRequires: doxygen
|
||||
@ -51,13 +51,6 @@ rm -rf src/kem/classic_mceliece
|
||||
rm -rf src/kem/frodokem
|
||||
rm -rf src/kem/hqc
|
||||
rm -rf src/kem/ntruprime
|
||||
# code_conventions is for upstream CI, requires astyle
|
||||
# pytest-xdist is not available in RHEL due to dependencies
|
||||
sed -e '/COMMAND.*pytest/s|$| --ignore tests/test_code_conventions.py|' \
|
||||
%if %{defined rhel}
|
||||
-e 's/--numprocesses=auto//' \
|
||||
%endif
|
||||
-i tests/CMakeLists.txt
|
||||
|
||||
%build
|
||||
%cmake -GNinja -DBUILD_SHARED_LIBS=ON -DOQS_USE_AES_OPENSSL=ON -DOQS_USE_AES_INSTRUCTIONS=OFF -DOQS_DIST_BUILD=ON -DOQS_ALGS_ENABLED=STD -DOQS_USE_SHA3_OPENSSL=ON -DCMAKE_BUILD_TYPE=Debug -LAH ..
|
||||
@ -65,6 +58,7 @@ sed -e '/COMMAND.*pytest/s|$| --ignore tests/test_code_conventions.py|' \
|
||||
#ninja gen_docs
|
||||
|
||||
%check
|
||||
#TODO tests
|
||||
cd "%{_vpath_builddir}"
|
||||
ninja run_tests
|
||||
|
||||
@ -80,7 +74,7 @@ done
|
||||
%files
|
||||
%license LICENSE.txt
|
||||
%{_libdir}/liboqs.so.%{oqs_version}
|
||||
%{_libdir}/liboqs.so.4
|
||||
%{_libdir}/liboqs.so.3
|
||||
|
||||
%files devel
|
||||
%{_libdir}/liboqs.so
|
||||
@ -97,17 +91,6 @@ done
|
||||
#%doc %%{_datadir}/doc/oqs/xml/*
|
||||
|
||||
%changelog
|
||||
* Mon Oct 30 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 0.9.0-2
|
||||
- Skip code style tests
|
||||
|
||||
* Fri Oct 27 2023 Dmitry Belyavskiy <dbelyavs@redhat.com> - 0.9.0-1
|
||||
- Switch to 0.9.0 version
|
||||
Resolves: rhbz#2241615
|
||||
|
||||
* Wed Oct 04 2023 Stephen Gallagher <sgallagh@redhat.com> - 0.8.0-4
|
||||
- Bump release to rebuild for ELN issue
|
||||
- https://github.com/fedora-eln/eln/issues/125
|
||||
|
||||
* Wed Jul 26 2023 Dmitry Belyavskiy <dbelyavs@redhat.com> - 0.8.0-3
|
||||
- The exception we get covers avx2 implementation, no need to remove it
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (0.9.0.tar.gz) = c4accc521d3d37c191e8807764e856d84580e43e8afbec3e4a1fbc54af57abb5315ebdf4b0dfe1b5b1589027751ae0864dd1f859f0c3dd99d5694a992cfb8551
|
||||
SHA512 (0.8.0.tar.gz) = f08793ec2b5fad247a4927f3d516633eb3cd800d21a9aad0046ee9d40b8e2869a28dc4e538df7acd628112287701c5e4cec86d15829c55d2f2c8ff19a6575b68
|
||||
|
Loading…
Reference in New Issue
Block a user