[PATCH blivet] Weed out unresolved macros in the check-requires target.

David Shea dshea at redhat.com
Tue Jul 28 20:37:38 UTC 2015


On 07/28/2015 02:23 PM, Chris Lumens wrote:
> It was giving back results like that the %{realname}-data package isn't
> installed, nor is the = package.
> ---
>   Makefile | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> index 8afbbd6..9af4488 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -17,7 +17,7 @@ ZANATA_PUSH_ARGS = --srcdir ./po/ --push-type source --force
>   
>   MOCKCHROOT ?= fedora-rawhide-$(shell uname -m)
>   
> -TEST_DEPENDENCIES = $(shell grep "^Requires:" python-blivet.spec | cut -f2 -d: | cut -f1 -d">")
> +TEST_DEPENDENCIES = $(shell rpm --specfile python-blivet.spec --requires | cut -d' ' -f1 | grep -v ^blivet)
>   TEST_DEPENDENCIES += python-mock python3-mock
>   TEST_DEPENDENCIES += cryptsetup-python cryptsetup-python3
>   TEST_DEPENDENCIES += python3-gobject

Ack.


More information about the anaconda-patches mailing list