%define subver b
-%define rel 0.1
+%define rel 1
Summary: Web application security scanner
Name: skipfish
-Version: 1.13
+Version: 1.84
Release: 0.%{subver}.%{rel}
License: Apache v2.0
Group: Applications/Networking
Source0: http://skipfish.googlecode.com/files/%{name}-%{version}%{subver}.tgz
-# Source0-md5: e40603953eb6ae3bd9aef3905d6a0335
+# Source0-md5: 1d29ada290110a2b93d576f1fb9b1213
URL: http://code.google.com/p/skipfish/
BuildRequires: libidn-devel
BuildRequires: openssl-devel
+BuildRequires: sed >= 4.0
BuildRequires: zlib-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
flaws, including blind injection vectors.
%prep
-%setup -qc
-mv %{name}/* .
-rmdir %{name}
+%setup -q -n %{name}-%{version}%{subver}
%{__sed} -i -e 's,-O3,$(OPTCFLAGS),' Makefile
%{__sed} -i -e 's,-L/usr/local/lib/ -L/opt/local/lib,$(OPTLDFLAGS),' Makefile
%build
%{__make} \
CC="%{__cc}" \
- OPTCFLAGS="%{rpmcflags}" \
+ OPTCFLAGS="%{rpmcflags} %{rpmcppflags}" \
OPTLDFLAGS="%{rpmldflags}"
%install
%files
%defattr(644,root,root,755)
%doc ChangeLog README
+%attr(755,root,root) %{_bindir}/skipfish