OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-tools Date: 22-Dec-2006 22:12:26
Branch: HEAD Handle: 2006122221122500
Modified files:
openpkg-tools/cmd dev.sh
Log:
new -h (headersonly) option to "openpkg dev build", handy for
adjusting Release: header without actually building
Summary:
Revision Changes Path
1.97 +6 -1 openpkg-tools/cmd/dev.sh
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-tools/cmd/dev.sh
============================================================================
$ cvs diff -u -r1.96 -r1.97 dev.sh
--- openpkg-tools/cmd/dev.sh 22 Dec 2006 20:55:36 -0000 1.96
+++ openpkg-tools/cmd/dev.sh 22 Dec 2006 21:12:25 -0000 1.97
@@ -2293,6 +2293,7 @@
build () {
force=0
+ headersonly=0
packages=""
defall=""
defpkg=""
@@ -2311,6 +2312,7 @@
fi
;;
.-f ) force=1 ;;
+ .-h ) headersonly=1 ;;
* ) packages="${packages} $1"
esac
shift
@@ -2358,6 +2360,9 @@
fi
fi
fi
+ if [ $headersonly -eq 1 ]; then
+ continue
+ fi
package=`rpmE -q --qf "%{NAME}-%{VERSION}-%{RELEASE}" \
--specfile ${OPENPKG_WORK}/$S/${name}/${name}.spec`
@@ -2939,7 +2944,7 @@
\$ openpkg dev bprep # [[spec]...] [-f] [-D with...] rpmE -bp
spec (force, opt)
\$ openpkg dev branch # [ctag] switch to
a different branch
\$ openpkg dev bsource # [[spec]...] [-f][-s][-D with...] rpmE -bs
[--short-circuit] spec (force, opt)
- \$ openpkg dev build # [[spec]...] [-f][-f][-D with...] build a
package (force, option)
+ \$ openpkg dev build # [[spec]...] [-f][-h][-D with...] build a
package (force, headersonly, option)
\$ openpkg dev clean # [-l][-t][-f] [[spec]...] clean logs
and/or temp (force all)
\$ openpkg dev diff # alias for
"release -dry"
\$ openpkg dev erase # [[spec]...] [-f] erase a
package (forcibly)
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]