]> git.pld-linux.org Git - packages/john.git/commitdiff
- cpuinfo() requires for xop/avx/sse2
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 30 Apr 2011 09:43:20 +0000 (09:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    john.spec -> 1.63

john.spec

index 7639b13a49ac067a05ab224b51ca05afaced0922..5cbf2a67fad7aad305d3c0b7232f4f0bee815beb 100644 (file)
--- a/john.spec
+++ b/john.spec
@@ -47,6 +47,17 @@ URL:         http://www.openwall.com/john/
 %{?with_jumbopatch:BuildRequires: openssl-devel >= 0.9.7}
 BuildRequires: rpmbuild(macros) >= 1.213
 Requires:      words
+%ifarch %{ix86} %{x8664}
+%if %{with xop}
+Requires:      cpuinfo(xop)
+%endif
+%if %{with xop} || %{with avx}
+Requires:      cpuinfo(avx)
+%endif
+%if %{do_sse2} && !%{do_ssefb}
+Requires:      cpuinfo(sse2)
+%endif
+%endif
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
This page took 0.082301 seconds and 4 git commands to generate.