|
|
@@ -24,7 +24,7 @@
|
|
|
##
|
|
|
|
|
|
# package version
|
|
|
-%define V_linkchecker 1.6.7
|
|
|
+%define V_linkchecker 1.7.1
|
|
|
%define V_pydns 2.3.0
|
|
|
|
|
|
# package information
|
|
|
@@ -37,7 +37,7 @@ Distribution: OpenPKG [EVAL]
|
|
|
Group: Misc
|
|
|
License: GPL
|
|
|
Version: %{V_linkchecker}
|
|
|
-Release: 20021123
|
|
|
+Release: 20021127
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://telia.dl.sourceforge.net/linkchecker/linkchecker-%{V_linkchecker}.tar.gz
|
|
|
@@ -46,7 +46,7 @@ Source1: http://telia.dl.sourceforge.net/sourceforge/pydns/pydns-%{V_pydns}
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20020206, python
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 20020206, python, bison, flex
|
|
|
PreReq: OpenPKG, openpkg >= 20020206, python
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
@@ -72,6 +72,7 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/python setup.py install --root=$RPM_BUILD_ROOT
|
|
|
)
|
|
|
( cd linkchecker-%{V_linkchecker}
|
|
|
+ (cd linkcheck/parser; flex-beta htmllex.l; bison -y htmlparse.y)
|
|
|
%{l_prefix}/bin/python setup.py install --root=$RPM_BUILD_ROOT
|
|
|
)
|
|
|
rm -rf $RPM_BUILD_ROOT%{l_prefix}/etc/linkchecker/examples
|