packages: john/john.spec - cpuinfo() requires for xop/avx/sse2

qboosh qboosh at pld-linux.org
Sat Apr 30 11:43:26 CEST 2011


Author: qboosh                       Date: Sat Apr 30 09:43:26 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- cpuinfo() requires for xop/avx/sse2

---- Files affected:
packages/john:
   john.spec (1.62 -> 1.63) 

---- Diffs:

================================================================
Index: packages/john/john.spec
diff -u packages/john/john.spec:1.62 packages/john/john.spec:1.63
--- packages/john/john.spec:1.62	Sat Apr 30 11:32:04 2011
+++ packages/john/john.spec	Sat Apr 30 11:43:20 2011
@@ -48,6 +48,17 @@
 %{?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
@@ -181,6 +192,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.63  2011/04/30 09:43:20  qboosh
+- cpuinfo() requires for xop/avx/sse2
+
 Revision 1.62  2011/04/30 09:32:04  qboosh
 - updated to 1.7.7
 - build with sse2 support on i686/athlon/pentium4 (with fallback on i686/athlon)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/john/john.spec?r1=1.62&r2=1.63&f=u



More information about the pld-cvs-commit mailing list