Accepting request 1146386 from network:cryptocurrencies

- Small spec file modernization

- Remove the hardcoded libopenssl-1_1-devel to libopenssl-devel.

OBS-URL: https://build.opensuse.org/request/show/1146386
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libff?expand=0&rev=2
This commit is contained in:
Ana Guerrero 2024-02-13 21:44:26 +00:00 committed by Git OBS Bridge
commit ec66f7f5a2
2 changed files with 15 additions and 7 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Feb 13 12:30:27 UTC 2024 - Martin Pluskal <mpluskal@suse.com>
- Small spec file modernization
-------------------------------------------------------------------
Tue Feb 13 10:19:47 UTC 2024 - Pedro Monreal <pmonreal@suse.com>
- Remove the hardcoded libopenssl-1_1-devel to libopenssl-devel.
-------------------------------------------------------------------
Tue Feb 9 14:49:40 UTC 2021 - Jan Engelhardt <jengelh@inai.de>

View File

@ -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
@ -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
@ -31,7 +30,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.
@ -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