[PATCH] rm transifex-client buildreq

Vratislav Podzimek vpodzime at redhat.com
Thu Nov 15 09:23:31 UTC 2012


On Wed, 2012-11-14 at 16:04 -0500, Samantha N. Bueno wrote:
> transifex-client shouldn't be listed as a BuildReq; only check for it
> and install as needed if the target requiring it is called by make
> ---
>  Makefile.am      | 2 ++
>  anaconda.spec.in | 1 -
>  2 files changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/Makefile.am b/Makefile.am
> index 4f76895..802836e 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -56,6 +56,7 @@ tag:
>  po-pull:
>         rm -f po/en at boldquot.gmo po/en at boldquot.po
>         rm -f po/en at quot.gmo po/en at quot.po
> +       rpm -q transifex-client &>/dev/null || echo "need to run: yum
> install transifex-client"; exit 1
>         tx pull $(TX_PULL_ARGS)
>  
>  scratch: po-pull
> @@ -81,6 +82,7 @@ bumpver: po-pull
>         fi ; \
>         scripts/makebumpver $${opts} || exit 1 ; \
>         $(MAKE) -C po $(PACKAGE_NAME).pot-update ; \
> +       rpm -q transifex-client &>/dev/null || echo "need to run: yum
> install transifex-client"; exit 1
>         tx push $(TX_PUSH_ARGS)
Adding this to the po-pull target should be enough as the other
(relevant) targets have it as dependency.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list