SPECS: aircrack-ptw.spec - use optflags
qboosh
qboosh at pld-linux.org
Thu May 17 21:59:12 CEST 2007
Author: qboosh Date: Thu May 17 19:59:12 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use optflags
---- Files affected:
SPECS:
aircrack-ptw.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/aircrack-ptw.spec
diff -u SPECS/aircrack-ptw.spec:1.2 SPECS/aircrack-ptw.spec:1.3
--- SPECS/aircrack-ptw.spec:1.2 Fri Apr 13 22:57:47 2007
+++ SPECS/aircrack-ptw.spec Thu May 17 21:59:07 2007
@@ -1,5 +1,4 @@
# $Revision$, $Date$
-# TODO: optflags
Summary: Faster then aircrack-ng WEP key cracker
Summary(pl.UTF-8): Szybszy niż aircrack-ng łamacz kluczy WEP
Name: aircrack-ptw
@@ -11,6 +10,7 @@
# Source0-md5: 1d7d84d1e69189bc1397db3f565c183a
URL: http://www.cdc.informatik.tu-darmstadt.de/aircrack-ptw/
BuildRequires: libpcap-devel
+BuildRequires: sed >= 4.0
Requires: aircrack-ng
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -29,6 +29,8 @@
%prep
%setup -q
+sed -i -e 's/gcc/%{__cc}/;s/-O3/%{rpmcflags}/' Makefile
+
%build
%{__make}
@@ -36,7 +38,7 @@
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_bindir}
-install -m 755 aircrack-ptw $RPM_BUILD_ROOT%{_bindir}
+install aircrack-ptw $RPM_BUILD_ROOT%{_bindir}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -52,6 +54,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2007/05/17 19:59:07 qboosh
+- use optflags
+
Revision 1.2 2007/04/13 20:57:47 qboosh
- proper encoding and formatting
- release 0.1 not 0
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/aircrack-ptw.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list