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: 21-Jul-2005 14:16:01
Branch: HEAD Handle: 2005072113160100
Modified files:
openpkg-src/odoc odoc.spec
Log:
just a few cosmetics while I poked around in this new area
Summary:
Revision Changes Path
1.2 +8 -7 openpkg-src/odoc/odoc.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/odoc/odoc.spec
============================================================================
$ cvs diff -u -r1.1 -r1.2 odoc.spec
--- openpkg-src/odoc/odoc.spec 20 Jul 2005 08:21:10 -0000 1.1
+++ openpkg-src/odoc/odoc.spec 21 Jul 2005 12:16:01 -0000 1.2
@@ -25,15 +25,15 @@
# package information
Name: odoc
Summary: Extended OpenPKG Documentation Support
-URL: ftp://ftp.openpkg.org/sources/CPY/odoc
+URL: -
Vendor: OpenPKG
Packager: OpenPKG
Distribution: OpenPKG
Class: EVAL
Group: Development
License: GPL
-Version: 20050720
-Release: 20050720
+Version: 20050721
+Release: 20050721
# list of sources
Source0: odoc
@@ -50,8 +50,7 @@
%description
Odoc provides the "openpkg odoc" command, that aids in installing
- browsable HTML docs.
- See "openpkg man odoc" after installation.
+ browsable HTML docs. See "openpkg man odoc" after installation.
%track
# no external stuff
@@ -89,16 +88,18 @@
%post
if [ $1 -eq 1 ]; then
+ # hook into OpenPKG bootstrap
echo "%%l_odoc %%""{l_prefix}/libexec/openpkg/odoc" | \
%{l_rpmtool} config \
- -a -i "odoc support" $RPM_INSTALL_PREFIX/etc/openpkg/rpmmacros
+ -a -i "$RPM_INSTALL_PREFIX:odoc"
$RPM_INSTALL_PREFIX/etc/openpkg/rpmmacros
fi
exit 0
%postun
if [ $1 -eq 0 ]; then
+ # unhook from OpenPKG bootstrap
%{l_rpmtool} config \
- -r -i "odoc support" $RPM_INSTALL_PREFIX/etc/openpkg/rpmmacros
+ -r -i "$RPM_INSTALL_PREFIX:odoc"
$RPM_INSTALL_PREFIX/etc/openpkg/rpmmacros
fi
exit 0
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]