From f5ba0062698ae3d4e1cdc97fd861aaaeb91d475d5e3f42eac84e2f789df43a12 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Tue, 13 Feb 2024 12:30:49 +0000 Subject: [PATCH] - 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