]> git.pld-linux.org Git - projects/pld-builder.new.git/commitdiff
- add --update-macros to update rpm-build-macros on src builder
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 23 Aug 2010 10:14:43 +0000 (10:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    client/make-request.sh -> 1.80

client/make-request.sh

index fb165c97e8ae03dc5d3aedd5a94148de567536bd..e979e825fed9a1a35a581faee493eaa9bbea5afa 100644 (file)
@@ -48,6 +48,7 @@ fi
 # internal options, not to be overriden
 specs=
 df_fetch=no
+upgrade_macros=no
 
 die() {
        echo >&2 "$0: $*"
@@ -179,6 +180,8 @@ Mandatory arguments to long options are mandatory for short options too.
             shortcut for --command poldek --up -Uv ARGS
       --cvsup
             Updates builders infrastructure (outside chroot)
+      --update-macros
+            Updates rpm-build-macros on src builder
       -q
             shortcut for --command rpm -q ARGS
       -g, --gpg-opts "opts"
@@ -318,6 +321,10 @@ while [ $# -gt 0 ] ; do
                        f_upgrade=no
                        ;;
 
+               --update-macros)
+                       upgrade_macros="yes"
+                       ;;
+
                -df | --distfiles-fetch | --distfiles-fetch-request)
                        df_fetch=yes
                        ;;
@@ -476,6 +483,13 @@ if [ "$df_fetch" = "yes" ]; then
        exit 0
 fi
 
+if [ "$upgrade_macros" = "yes" ]; then
+       command="poldek --up -Uv rpm-build-macros"
+       builders="$distro-src"
+       f_upgrade=no
+       build_mode=test
+fi
+
 if [[ "$requester" != *@* ]] ; then
        requester="$requester@pld-linux.org"
 fi
This page took 0.20483 seconds and 4 git commands to generate.