Accepting request 1041919 from home:StefanBruens:branches:science

- Limit build parallelism with limit_build macro to avoid
  occasional build failure due to OOM.

OBS-URL: https://build.opensuse.org/request/show/1041919
OBS-URL: https://build.opensuse.org/package/show/science/fplll?expand=0&rev=21
This commit is contained in:
Jan Engelhardt 2022-12-09 22:47:05 +00:00 committed by Git OBS Bridge
parent 27ba3d1bb3
commit 41ab6e176f
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Dec 9 18:42:36 UTC 2022 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Limit build parallelism with limit_build macro to avoid
occasional build failure due to OOM.
-------------------------------------------------------------------
Wed May 25 10:45:53 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -29,6 +29,7 @@ URL: https://github.com/dstehle/fplll
Source: https://github.com/fplll/fplll/releases/download/%version/fplll-%version.tar.gz
BuildRequires: gcc-c++
BuildRequires: gmp-devel
BuildRequires: memory-constraints
BuildRequires: mpfr-devel
BuildRequires: pkg-config
@ -74,8 +75,9 @@ applications that want to make use of libfplll.
%setup -q
%build
%limit_build -m 1700
%configure --disable-static
make %{?_smp_mflags}
%make_build
%install
%make_install
@ -85,18 +87,16 @@ rm -f "%buildroot/%_libdir"/*.la
%postun -n %lname -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc NEWS README.md
%license COPYING
%_bindir/fplll
%_bindir/latticegen
%_datadir/fplll/
%doc COPYING NEWS README.md
%files -n %lname
%defattr(-,root,root)
%_libdir/libfplll.so.*
%files -n fplll-devel
%defattr(-,root,root)
%_includedir/fplll*
%_libdir/libfplll.so
%_libdir/pkgconfig/*.pc