aboutsummaryrefslogtreecommitdiffstats
path: root/factor
diff options
context:
space:
mode:
Diffstat (limited to 'factor')
-rw-r--r--factor/msieve/msieve.spec4
-rw-r--r--factor/yafu/yafu.spec4
2 files changed, 4 insertions, 4 deletions
diff --git a/factor/msieve/msieve.spec b/factor/msieve/msieve.spec
index 68cc406..776b539 100644
--- a/factor/msieve/msieve.spec
+++ b/factor/msieve/msieve.spec
@@ -22,7 +22,7 @@ latter has helped complete some of the largest public factorizations known.
%build
sed -i 's|-march=native||' Makefile
-make %{?_smp_mflags} all ECM=1 CC="gcc %{optflags} %{__global_ldflags}"
+%make_build all ECM=1 CC="gcc %{optflags} %{__global_ldflags}"
%install
@@ -41,7 +41,7 @@ install -m 644 libmsieve.a %{buildroot}%{_libdir}
%changelog
* Mon Dec 11 2017 Ting-Wei Lan <lantw44@gmail.com> - 1.53-4
-- Use autosetup macro
+- Use autosetup and make_build macros
* Mon Oct 16 2017 Ting-Wei Lan <lantw44@gmail.com> - 1.53-3
- Rebuilt for Fedora 27 and 28
diff --git a/factor/yafu/yafu.spec b/factor/yafu/yafu.spec
index 6f9386b..1c2c7af 100644
--- a/factor/yafu/yafu.spec
+++ b/factor/yafu/yafu.spec
@@ -28,7 +28,7 @@ utilize multi- or many-core processors (including SNFS, GNFS, SIQS, and ECM).
sed -i 's|-lmsieve|-lmsieve -lz|' Makefile
%ifarch x86_64
-make %{?_smp_mflags} x86_64 NFS=1 USE_SSE41=1 CC="gcc %{optflags} %{__global_ldflags}"
+%make_build x86_64 NFS=1 USE_SSE41=1 CC="gcc %{optflags} %{__global_ldflags}"
%else
false
%endif
@@ -47,7 +47,7 @@ install -m 755 yafu %{buildroot}%{_bindir}
%changelog
* Mon Dec 11 2017 Ting-Wei Lan <lantw44@gmail.com> - 1.34-11
-- Use autosetup macro
+- Use autosetup and make_build macros
* Mon Oct 16 2017 Ting-Wei Lan <lantw44@gmail.com> - 1.34-10
- Rebuilt for Fedora 27 and 28