[packages/rpm-build-tools] drop rpmb

glen glen at pld-linux.org
Tue May 19 11:10:09 CEST 2015


commit 0ee59b3ffd12cfe392d3b9797f8f241867262c66
Author: Elan Ruusamäe <glen at delfi.ee>
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



More information about the pld-cvs-commit mailing list