From b290e29a317425e87dd63f4582472b11b357aa29 Mon Sep 17 00:00:00 2001 From: Till Maas Date: Feb 28 2007 17:56:49 +0000 Subject: - fixing wrong characters in specfile - https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=148873&action=view --- diff --git a/john.spec b/john.spec index 8f9546d..86aba2b 100644 --- a/john.spec +++ b/john.spec @@ -1,7 +1,7 @@ Summary: John the Ripper password cracker Name: john Version: 1.7.0.2 -Release: 2%{?dist} +Release: 3%{?dist} URL: http://www.openwall.com/john License: GPL @@ -27,7 +27,6 @@ cp -a src src-mmx %build %define target_non_mmx generic -%define target_mmx "%{nil}" %ifarch %{ix86} %define target_non_mmx linux-x86-any @@ -44,7 +43,7 @@ export CFLAGS="-c ${RPM_OPT_FLAGS} -DJOHN_SYSTEMWIDE=1" make -C src %{target_non_mmx} CFLAGS="${CFLAGS}" LDFLAGS="" -%if "%{target_mmx}" != "%{nil}" +%if 0%{?target_mmx:1} mv run/john run/john-non-mmx CFLAGS="${CFLAGS} -DCPU_FALLBACK=1" @@ -61,7 +60,7 @@ install -d 755 %{buildroot}%{_datadir}/john install -m 755 run/{john,mailer} %{buildroot}%{_bindir} install -m 644 run/{*.chr,password.lst} %{buildroot}%{_datadir}/john install -m 644 run/john.conf %{buildroot}%{_sysconfdir} -%if "⅜{target_mmx}" != "%{nil}" +%if 0%{?target_mmx:1} install -d 755 %{buildroot}%{_libexecdir}/john install -m 755 run/john-non-mmx %{buildroot}%{_libexecdir}/john/ %endif @@ -80,11 +79,15 @@ rm -rf %{buildroot} %config(noreplace) %{_sysconfdir}/john.conf %{_bindir}/* %{_datadir}/john -%if "⅜{target_mmx}" != "%{nil}" +%if 0%{?target_mmx:1} %{_libexecdir}/john/ %endif %changelog +* Tue Feb 27 2007 Till Maas - 1.7.0.2-3 +- fixing wrong characters in specfile +- https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=148873&action=view + * Wed Jan 10 2007 Till Maas - 1.7.0.2-2 - no mmx version for x86_64 since it is 32bit and does not build