Accepting request 1041938 from science

- Limit build parallelism with limit_build macro to avoid
  occasional build failure due to OOM. (forwarded request 1041919 from StefanBruens)

OBS-URL: https://build.opensuse.org/request/show/1041938
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fplll?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2022-12-10 20:18:38 +00:00 committed by Git OBS Bridge
commit 9e14dca355
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