OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 15-Oct-2004 11:37:03
Branch: HEAD Handle: 2004101510370300
Modified files:
openpkg-src/lemon lemon.spec
Log:
switch to versioned distribution files
Summary:
Revision Changes Path
1.17 +8 -13 openpkg-src/lemon/lemon.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/lemon/lemon.spec
============================================================================
$ cvs diff -u -r1.16 -r1.17 lemon.spec
--- openpkg-src/lemon/lemon.spec 14 Oct 2004 10:47:07 -0000 1.16
+++ openpkg-src/lemon/lemon.spec 15 Oct 2004 09:37:03 -0000 1.17
@@ -33,13 +33,11 @@
Class: PLUS
Group: Language
License: GPL
-Version: 1.0
-Release: 20041014
+Version: 1.0.20041015
+Release: 20041015
# list of sources
-Source0: http://www.sqlite.org/cvstrac/getfile/sqlite/tool/lemon.c
-Source1: http://www.sqlite.org/cvstrac/getfile/sqlite/tool/lempar.c
-Source2: http://www.hwaci.com/sw/lemon/lemon.html
+Source0:
ftp://ftp.openpkg.org/sources/CPY/VERSIONED/lemon/lemon-%{version}.tar.gz
# build information
Prefix: %{l_prefix}
@@ -56,16 +54,13 @@
%track
prog lemon = {
- disabled
- comment = "rse: non-versioned distribution files only"
version = %{version}
- url = http://www.hwaci.com/sw/lemon/
- regex = lemon.c
+ url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/lemon/
+ regex = lemon-(__VER__)\.tar\.gz
}
%prep
- %setup -T -c
- cp %{SOURCE lemon.c} lemon.c
+ %setup -q -c
%{l_shtool} subst \
-e 's;"lempar.c";"%{l_prefix}/share/lemon/lempar.c";g' \
lemon.c
@@ -81,9 +76,9 @@
%{l_shtool} install -c -s -m 755 \
lemon $RPM_BUILD_ROOT%{l_prefix}/bin/
%{l_shtool} install -c -m 644 \
- %{SOURCE lempar.c} $RPM_BUILD_ROOT%{l_prefix}/share/lemon/
+ lempar.c $RPM_BUILD_ROOT%{l_prefix}/share/lemon/
%{l_shtool} install -c -m 644 \
- %{SOURCE lemon.html} $RPM_BUILD_ROOT%{l_prefix}/share/lemon/
+ lemon.html $RPM_BUILD_ROOT%{l_prefix}/share/lemon/
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
%files -f files
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]