[packages/john] - when building jumbo version, configure decidec what cpu features to build
baggins
baggins at pld-linux.org
Sun Aug 9 20:36:09 CEST 2015
commit 0d881e9edd5c964ef19ae19d9a909c077df8e985
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Aug 9 20:35:40 2015 +0200
- when building jumbo version, configure decidec what cpu features to build
john.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/john.spec b/john.spec
index 8a2a9a5..bf1b368 100644
--- a/john.spec
+++ b/john.spec
@@ -7,6 +7,7 @@
%bcond_with xop # use x86 XOP instructions
%bcond_with altivec # use PPC Altivec instructions
+%if %{without jumbo}
%ifarch i586 i686 athlon pentium2 pentium3 pentium4
%define do_mmx 1
%else
@@ -31,6 +32,7 @@
%define do_ssefb 0
%define optssefb %{nil}
%endif
+%endif
Summary: Password cracker
Summary(pl.UTF-8): Łamacz haseł
@@ -167,6 +169,7 @@ rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/john}
cp -a run/{*.conf,*.chr,*.lst} $RPM_BUILD_ROOT%{_datadir}/john
install -p run/john $RPM_BUILD_ROOT%{_bindir}
+
%if %{do_mmxfb}
install -D -p run/john-non-mmx $RPM_BUILD_ROOT%{_libdir}/john/john-non-mmx
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/john.git/commitdiff/0d881e9edd5c964ef19ae19d9a909c077df8e985
More information about the pld-cvs-commit
mailing list