SHA256
1
0
forked from pool/libff

- Small spec file modernization

OBS-URL: https://build.opensuse.org/package/show/network:cryptocurrencies/libff?expand=0&rev=7
This commit is contained in:
Martin Pluskal 2024-02-13 12:30:49 +00:00 committed by Git OBS Bridge
parent 8332508806
commit f5ba006269
2 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
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> Tue Feb 13 10:19:47 UTC 2024 - Pedro Monreal <pmonreal@suse.com>

View File

@ -22,7 +22,6 @@ Version: 1.0.0
Release: 0 Release: 0
Summary: C++ library for Finite Fields and Elliptic Curves Summary: C++ library for Finite Fields and Elliptic Curves
License: MIT License: MIT
Group: Development/Libraries/C and C++
URL: https://github.com/scipr-lab/libff URL: https://github.com/scipr-lab/libff
Source0: https://github.com/scipr-lab/libff/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source0: https://github.com/scipr-lab/libff/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch0: 00_no_bn128.patch Patch0: 00_no_bn128.patch
@ -65,14 +64,13 @@ rm libff/algebra/scalar_multiplication/multiexp_profile.cpp
%cmake_build %cmake_build
%check %check
cd build pushd build
make %{?_smp_mflags} check make check
%install %install
%cmake_install %cmake_install
%post -n %{lname} -p /sbin/ldconfig %ldconfig_scriptlets -n %{lname}
%postun -n %{lname} -p /sbin/ldconfig
%files -n %{lname} %files -n %{lname}
%doc README.md %doc README.md