commit 0ee59b3ffd12cfe392d3b9797f8f241867262c66
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
    
    apply 4bd523d4d38aa9b69d383ab41e722fbeed3c0b9a from rpm-build-macros repo

 shrc.sh | 12 ------------
 1 file changed, 12 deletions(-)
---
diff --git a/shrc.sh b/shrc.sh
index 9013c81..a15e0e5 100755
--- 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" "$@"
-}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/0ee59b3ffd12cfe392d3b9797f8f241867262c66

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to