From 12e97cf7035fd042f1edb8456cac3558ad8f1e44cba3c6c58fdfd87983261044 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 3 Jan 2022 09:10:21 +0000 Subject: [PATCH] Accepting request 943490 from home:jengelh:branches:devel:libraries:c_c++ - Trim redundancies from description. Remove old specfile constructs. OBS-URL: https://build.opensuse.org/request/show/943490 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liboqs?expand=0&rev=2 --- liboqs.changes | 6 ++++++ liboqs.spec | 18 +++++------------- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/liboqs.changes b/liboqs.changes index 0d31aa3..98a844b 100644 --- a/liboqs.changes +++ b/liboqs.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Jan 2 18:26:29 UTC 2022 - Jan Engelhardt + +- Trim redundancies from description. Remove old specfile + constructs. + ------------------------------------------------------------------- Fri Nov 12 13:08:09 UTC 2021 - Marcus Meissner diff --git a/liboqs.spec b/liboqs.spec index 2059893..983ee58 100644 --- a/liboqs.spec +++ b/liboqs.spec @@ -19,7 +19,7 @@ Name: liboqs Version: 0.7.1 Release: 0 -Summary: Open source C library for quantum-resistant cryptographic algorithms +Summary: C library for quantum-resistant cryptographic algorithms License: MIT Group: Productivity/Security Url: https://github.com/open-quantum-safe/liboqs/ @@ -29,7 +29,6 @@ Patch0: liboqs-fix-build.patch BuildRequires: cmake BuildRequires: libopenssl-devel BuildRequires: doxygen -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description liboqs is an open source C library for quantum-resistant cryptographic @@ -37,11 +36,11 @@ algorithms. Details about liboqs can be found in README.md. See in particular limitations on intended use. %package -n liboqs0 -Summary: Open source C library for quantum-resistant cryptographic algorithms +Summary: C library for quantum-resistant cryptographic algorithms Group: System/Libraries %description -n liboqs0 -liboqs is an open source C library for quantum-resistant cryptographic +liboqs is a C library for quantum-resistant cryptographic algorithms. Details about liboqs can be found in README.md. See in particular limitations on intended use. @@ -55,14 +54,12 @@ liboqs is an open source C library for quantum-resistant cryptographic algorithms. Details about liboqs can be found in README.md. See in particular limitations on intended use. - %prep -%setup -q -%patch0 -p1 +%autosetup -p1 %build mkdir build -export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -std=gnu11" +export RPM_OPT_FLAGS="%optflags -std=gnu11" cd build cmake -DBUILD_SHARED_LIBS=ON .. %cmake_build @@ -77,17 +74,13 @@ fi rmdir %buildroot/usr/local/ %post -n liboqs0 -p /sbin/ldconfig - - %postun -n liboqs0 -p /sbin/ldconfig %files -n liboqs0 -%defattr(-,root,root) %license LICENSE.txt /%{_libdir}/liboqs.so.0* %files devel -%defattr(-,root,root) %license LICENSE.txt %dir %{_includedir}/oqs %{_includedir}/oqs/* @@ -97,5 +90,4 @@ rmdir %buildroot/usr/local/ /%_libdir/cmake/liboqs/liboqsConfig-noconfig.cmake /%_libdir/cmake/liboqs/liboqsConfig.cmake - %changelog