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: 23-Jul-2003 21:00:56
Branch: HEAD Handle: 2003072320005401
Modified files:
openpkg-src/bzip2 bzip2.spec
openpkg-web news.txt
Log:
cleanup packaging
Summary:
Revision Changes Path
1.23 +15 -4 openpkg-src/bzip2/bzip2.spec
1.5766 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/bzip2/bzip2.spec
============================================================================
$ cvs diff -u -r1.22 -r1.23 bzip2.spec
--- openpkg-src/bzip2/bzip2.spec 8 Jul 2003 14:38:52 -0000 1.22
+++ openpkg-src/bzip2/bzip2.spec 23 Jul 2003 19:00:55 -0000 1.23
@@ -37,7 +37,7 @@
Group: Compression
License: GPL
Version: %{V_long}
-Release: 20030408
+Release: 20030723
# list of sources
Source0: ftp://sources.redhat.com/pub/bzip2/v%{V_short}/bzip2-%{V_long}.tar.gz
@@ -61,14 +61,25 @@
%setup -q
%build
- %{l_make} %{l_mflags} CC="%{l_cc}" CFLAGS="%{l_cflags -O}"
+ # build package
+ %{l_make} %{l_mflags} \
+ CC="%{l_cc}" \
+ CFLAGS="%{l_cflags -O}"
%install
rm -rf $RPM_BUILD_ROOT
- %{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}
- %{l_make} %{l_mflags} install PREFIX=$RPM_BUILD_ROOT%{l_prefix}
+
+ # install package
+ %{l_shtool} mkdir -f -p -m 755 \
+ $RPM_BUILD_ROOT%{l_prefix}
+ %{l_make} %{l_mflags} install \
+ PREFIX=$RPM_BUILD_ROOT%{l_prefix}
+
+ # strip down installation
rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* 2>/dev/null || true
+
+ # determine installation files
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
%files -f files
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.5765 -r1.5766 news.txt
--- openpkg-web/news.txt 23 Jul 2003 18:58:12 -0000 1.5765
+++ openpkg-web/news.txt 23 Jul 2003 19:00:54 -0000 1.5766
@@ -1,3 +1,4 @@
+23-Jul-2003: Upgraded package: P<bzip2-1.0.2-20030723>
23-Jul-2003: Upgraded package: P<autoconf-2.57-20030723>
23-Jul-2003: Upgraded package: P<binutils-2.14-20030723>
23-Jul-2003: Upgraded package: P<perl-crypto-20030723-20030723>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]