]> git.pld-linux.org Git - packages/rpm-build-tools.git/blobdiff - shrc.sh
adapter: vim folding marks; update package renames
[packages/rpm-build-tools.git] / shrc.sh
diff --git a/shrc.sh b/shrc.sh
index 9013c8146f2c960598169683ee7edcb2ba2ffd7c..e20d20c607fbcf6ed3f45df011fb5f6724b38bbe 100755 (executable)
--- a/shrc.sh
+++ b/shrc.sh
@@ -194,7 +194,7 @@ get-buildlog() {
 fi # no $dist set
 
 alias adif="dif -x '*.m4' -x ltmain.sh -x install-sh -x depcomp -x 'Makefile.in' -x compile -x 'config.*' -x configure -x missing -x mkinstalldirs -x autom4te.cache"
-alias pclean="sed -i~ -e '/^\(?\|=\+$\|unchanged:\|diff\|only\|Only\|Tylko\|Files\|Common\|Index:\|RCS file\|retrieving\)/d'"
+alias pclean="sed -i~ -e '/^\(?\|=\+$\|unchanged:\|diff\|only\|Only\|Tylko\|Binary files\|Files\|Common\|index \|Index:\|RCS file\|retrieving\)/d'"
 
 # merges two patches
 # requires: patchutils
@@ -262,15 +262,3 @@ d() {
 rpm2spec() {
        sed -re 's,^(.+)-[^-]+-[^-]+$,\1.spec,'
 }
-
-rpmb() {
-       local SPEC SPECDIR arg
-       for arg in "$@"; do
-               case "$arg" in
-                       *.spec) SPEC="$arg"
-                               ;;
-               esac
-       done
-       SPECDIR=$(dirname "$(pwd)/${SPEC:-.}")
-       command rpmbuild --define "_specdir $SPECDIR" --define "_sourcedir $SPECDIR" "$@"
-}
This page took 0.025455 seconds and 4 git commands to generate.