]> git.pld-linux.org Git - packages/rpm-build-tools.git/blobdiff - shrc.sh
- more
[packages/rpm-build-tools.git] / shrc.sh
diff --git a/shrc.sh b/shrc.sh
index 9013c8146f2c960598169683ee7edcb2ba2ffd7c..a15e0e5a72b95b1063737822dd6af7c7e64b7e9b 100755 (executable)
--- a/shrc.sh
+++ b/shrc.sh
@@ -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.08983 seconds and 4 git commands to generate.