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: 15-Jul-2006 09:24:45
Branch: HEAD Handle: 2006071508244400
Modified files:
openpkg-src/httrack httrack.spec
Log:
avoid hard-coded version numbers in the middle of a .spec file.
Instead it looks httrack uses a revision number on tarballs which is
independend of the minor version anyway, so add a new variable for
this
Summary:
Revision Changes Path
1.7 +7 -6 openpkg-src/httrack/httrack.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/httrack/httrack.spec
============================================================================
$ cvs diff -u -r1.6 -r1.7 httrack.spec
--- openpkg-src/httrack/httrack.spec 3 Jul 2006 10:16:06 -0000 1.6
+++ openpkg-src/httrack/httrack.spec 15 Jul 2006 07:24:44 -0000 1.7
@@ -25,8 +25,9 @@
# FIXME: rse: there is an etc/httrack/ directory but no default
configuration files!?
# package versions
-%define V_major 3.40
-%define V_minor 2
+%define V_major 3.40
+%define V_minor 3
+%define V_revision 2
# package information
Name: httrack
@@ -39,10 +40,10 @@
Group: Web
License: GPL
Version: %{V_major}.%{V_minor}
-Release: 20060703
+Release: 20060715
# list of sources
-Source0: http://www.httrack.com/httrack-%{V_major}-%{V_minor}.tar.gz
+Source0: http://www.httrack.com/httrack-%{V_major}-%{V_revision}.tar.gz
Patch0: httrack.patch
# build information
@@ -67,13 +68,13 @@
%track
prog httrack = {
- version = %{V_major}-%{V_minor}
+ version = %{V_major}-%{V_revision}
url = http://www.httrack.com/page/2/en/index.html
regex = httrack-(__VER__)\.tar\.gz
}
%prep
- %setup -q -n httrack-3.40.3
+ %setup -q
%patch -p0
%build
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]