add usage instructions
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=319
This commit is contained in:
parent
dadba5cd0e
commit
df00c9b79e
@ -2,6 +2,17 @@
|
||||
#
|
||||
# based on qemu's update_git.sh this program updates the patches
|
||||
# applied on top of a tarball based on commmits in git
|
||||
#
|
||||
# how to use:
|
||||
# quilt setup rpmlint.spec
|
||||
# cp rpmlint-$RPMLINTVERSION/series .
|
||||
# mkdir ~/git; cd ~/git
|
||||
# git clone git://git.code.sf.net/p/rpmlint/code rpmlint-code
|
||||
# git checkout -b opensuse-$RPMLINTVERSION v$RPMLINTVERSION
|
||||
# git quiltimport --patches /where/rpmlint/checkout/is
|
||||
# ... add/remove/rebase patches
|
||||
# ... to rebase to a new version create branch and modify versions below
|
||||
# when done run update_git.sh
|
||||
|
||||
GIT_TREE=git://git.code.sf.net/p/rpmlint/code
|
||||
GIT_LOCAL_TREE=~/git/rpmlint-code
|
||||
@ -10,8 +21,8 @@ GIT_UPSTREAM_TAG=v1.6
|
||||
|
||||
cleanup()
|
||||
{
|
||||
[ -z "$GIT_DIR" ] || rm -rf "$GIT_DIR"
|
||||
[ -z "$CMP_DIR" ] || rm -rf "$GIT_DIR"
|
||||
[ -z "$GIT_DIR" ] || rm -rf "$GIT_DIR"
|
||||
[ -z "$CMP_DIR" ] || rm -rf "$GIT_DIR"
|
||||
}
|
||||
|
||||
trap cleanup EXIT
|
||||
|
Loading…
Reference in New Issue
Block a user