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

Chris Lumens clumens at redhat.com
Tue Jul 28 18:23:17 UTC 2015


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
-- 
2.4.3



More information about the anaconda-patches mailing list