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 openpkg-web Date: 03-Jan-2003 09:49:24
Branch: HEAD Handle: 2003010308492201
Modified files:
openpkg-src/ncurses ncurses.spec
openpkg-web news.txt
Log:
finally avoid having to remember to update multiple parts by removinng
redundancy through more macro hacking
Summary:
Revision Changes Path
1.67 +6 -5 openpkg-src/ncurses/ncurses.spec
1.2505 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/ncurses/ncurses.spec
============================================================================
$ cvs diff -u -r1.66 -r1.67 ncurses.spec
--- openpkg-src/ncurses/ncurses.spec 31 Dec 2002 19:13:05 -0000 1.66
+++ openpkg-src/ncurses/ncurses.spec 3 Jan 2003 08:49:23 -0000 1.67
@@ -35,7 +35,7 @@
%define V_patch9 20021221
%define V_patch10 20021228
%define V_patch11 20021231
-%define V_patchL %{V_patch11}
+%define V_patches 11
# package information
Name: ncurses
@@ -46,8 +46,8 @@
Distribution: OpenPKG [BASE]
Group: Terminal
License: GPL
-Version: %{V_base}.%{V_patchL}
-Release: 20021231
+Version: %{V_base}.%{expand:%%{V_patch%{V_patches}}}
+Release: 20030103
# list of sources
Source0: ftp://invisible-island.net/ncurses/ncurses-%{V_base}.tar.gz
@@ -79,8 +79,9 @@
%prep
%setup -q -n ncurses-%{V_base}
- for patch in %{PATCH1} %{PATCH2} %{PATCH3} %{PATCH4} %{PATCH5} \
- %{PATCH6} %{PATCH7} %{PATCH8} %{PATCH9} %{PATCH10}; do
+ for patch in \
+ %{expand:%(i=1; while [ $i -le %{V_patches} ]; do shtool echo -n "
%%{PATCH$i}"; i=`expr $i + 1`; done)}
+ do
%{l_gzip} -d -c $patch | %{l_patch} -p1 || true
done
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.2504 -r1.2505 news.txt
--- openpkg-web/news.txt 3 Jan 2003 08:22:48 -0000 1.2504
+++ openpkg-web/news.txt 3 Jan 2003 08:49:22 -0000 1.2505
@@ -1,3 +1,4 @@
+03-Jan-2003: Upgraded package: P<ncurses-5.3.20021231-20030103>
03-Jan-2003: Upgraded package: P<perl-dbi-20030103-20030103>
03-Jan-2003: Upgraded package: P<vim-6.1.270-20030103>
02-Jan-2003: Upgraded package: P<tidy-20030101-20030102>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]