commit 4bd523d4d38aa9b69d383ab41e722fbeed3c0b9a
Author: Elan Ruusamäe <[email protected]>
Date: Thu Feb 26 23:40:40 2015 +0200
drop rpmb
not needed either, rpm-build-macros can setup spec and sourcedirs properly
rpm-build.sh | 12 ------------
1 file changed, 12 deletions(-)
---
diff --git a/rpm-build.sh b/rpm-build.sh
index 4364704..18481d5 100755
--- a/rpm-build.sh
+++ b/rpm-build.sh
@@ -234,15 +234,3 @@ d() {
(builtin cd "$dir"; dif $diff{~,})
}
-
-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" "$@"
-}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-macros.git/commitdiff/4bd523d4d38aa9b69d383ab41e722fbeed3c0b9a
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit