From 833250880666076289fbe71f4f1396bb00b85ce615449e64c0904781d095cdab Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Tue, 13 Feb 2024 12:25:53 +0000 Subject: [PATCH 1/2] Accepting request 1146352 from home:pmonrealgonzalez:branches:network:cryptocurrencies - Remove the hardcoded libopenssl-1_1-devel to libopenssl-devel. OBS-URL: https://build.opensuse.org/request/show/1146352 OBS-URL: https://build.opensuse.org/package/show/network:cryptocurrencies/libff?expand=0&rev=6 --- libff.changes | 5 +++++ libff.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/libff.changes b/libff.changes index 774690a..8ea4bff 100644 --- a/libff.changes +++ b/libff.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 13 10:19:47 UTC 2024 - Pedro Monreal + +- Remove the hardcoded libopenssl-1_1-devel to libopenssl-devel. + ------------------------------------------------------------------- Tue Feb 9 14:49:40 UTC 2021 - Jan Engelhardt diff --git a/libff.spec b/libff.spec index b9af3ec..879d9c1 100644 --- a/libff.spec +++ b/libff.spec @@ -1,7 +1,7 @@ # # spec file for package libff # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -31,7 +31,7 @@ Patch2: 02_config_hpp.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: gmp-devel -BuildRequires: libopenssl-1_1-devel +BuildRequires: libopenssl-devel %description libff is a C++ library for finite fields and elliptic curves. From f5ba0062698ae3d4e1cdc97fd861aaaeb91d475d5e3f42eac84e2f789df43a12 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Tue, 13 Feb 2024 12:30:49 +0000 Subject: [PATCH 2/2] - Small spec file modernization OBS-URL: https://build.opensuse.org/package/show/network:cryptocurrencies/libff?expand=0&rev=7 --- libff.changes | 5 +++++ libff.spec | 8 +++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/libff.changes b/libff.changes index 8ea4bff..848bd90 100644 --- a/libff.changes +++ b/libff.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 13 12:30:27 UTC 2024 - Martin Pluskal + +- Small spec file modernization + ------------------------------------------------------------------- Tue Feb 13 10:19:47 UTC 2024 - Pedro Monreal diff --git a/libff.spec b/libff.spec index 879d9c1..a52475a 100644 --- a/libff.spec +++ b/libff.spec @@ -22,7 +22,6 @@ Version: 1.0.0 Release: 0 Summary: C++ library for Finite Fields and Elliptic Curves License: MIT -Group: Development/Libraries/C and C++ URL: https://github.com/scipr-lab/libff Source0: https://github.com/scipr-lab/libff/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Patch0: 00_no_bn128.patch @@ -65,14 +64,13 @@ rm libff/algebra/scalar_multiplication/multiexp_profile.cpp %cmake_build %check -cd build -make %{?_smp_mflags} check +pushd build +make check %install %cmake_install -%post -n %{lname} -p /sbin/ldconfig -%postun -n %{lname} -p /sbin/ldconfig +%ldconfig_scriptlets -n %{lname} %files -n %{lname} %doc README.md