OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 11-Dec-2006 07:33:42
Branch: HEAD Handle: 2006121106334000
Modified files:
openpkg-src/sshfp sshfp.spec
Log:
use the python-net module
Summary:
Revision Changes Path
1.5 +6 -20 openpkg-src/sshfp/sshfp.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/sshfp/sshfp.spec
============================================================================
$ cvs diff -u -r1.4 -r1.5 sshfp.spec
--- openpkg-src/sshfp/sshfp.spec 13 Oct 2006 17:34:24 -0000 1.4
+++ openpkg-src/sshfp/sshfp.spec 11 Dec 2006 06:33:40 -0000 1.5
@@ -22,10 +22,6 @@
## SUCH DAMAGE.
##
-# package version
-%define V_sshfp 1.1.1
-%define V_dnspython 1.4.0
-
# package information
Name: sshfp
Summary: Secure Shell (SSH) FingerPrint (FP) DNS RR Generator
@@ -36,18 +32,17 @@
Class: PLUS
Group: SSH
License: GPL
-Version: %{V_sshfp}
-Release: 20061013
+Version: 1.1.1
+Release: 20061211
# list of sources
-Source0: ftp://ftp.xelerance.com/sshfp/sshfp-%{V_sshfp}.tar.gz
-Source1:
http://www.dnspython.org/kits/stable/dnspython-%{V_dnspython}.tar.gz
+Source0: ftp://ftp.xelerance.com/sshfp/sshfp-%{version}.tar.gz
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
-BuildPreReq: OpenPKG, openpkg >= 20040130, python
-PreReq: OpenPKG, openpkg >= 20040130, python
+BuildPreReq: OpenPKG, openpkg >= 20040130, python, python-net
+PreReq: OpenPKG, openpkg >= 20040130, python, python-net
AutoReq: no
AutoReqProv: no
@@ -61,19 +56,13 @@
%track
prog sshfp = {
- version = %{V_sshfp}
+ version = %{version}
url = ftp://ftp.xelerance.com/sshfp/
regex = sshfp-(__VER__)\.tar\.gz
}
- prog sshfp:dnspython = {
- version = %{V_dnspython}
- url = http://www.dnspython.org/kits/stable/
- regex = dnspython-(__VER__)\.tar\.gz
- }
%prep
%setup -q
- %setup -q -D -T -a 1
%build
@@ -85,9 +74,6 @@
%{l_shtool} install -c -m 755 \
-e 's;#!/usr/bin/python;#!%{l_prefix}/bin/python;' \
sshfp $RPM_BUILD_ROOT%{l_prefix}/bin/
- ( cd dnspython-%{V_dnspython}
- %{l_prefix}/bin/python setup.py install --root=$RPM_BUILD_ROOT
- ) || exit $?
%{l_shtool} install -c -m 644 \
sshfp.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]