]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
drop rpmb
authorElan Ruusamäe <glen@delfi.ee>
Thu, 26 Feb 2015 21:40:40 +0000 (23:40 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 26 Feb 2015 21:40:40 +0000 (23:40 +0200)
not needed either, rpm-build-macros can setup spec and sourcedirs properly

rpm-build.sh

index 4364704b94a6cc8bada741b5e4ac05d80371daea..18481d59e88bf5fb4232f96e82ae486b3cfabb9b 100755 (executable)
@@ -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" "$@"
-}
This page took 0.057111 seconds and 4 git commands to generate.