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
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" "$@"
-}