From d26be441029cca9af87f35610bd81139b16ba6af Mon Sep 17 00:00:00 2001 From: David Scott Date: Mon, 12 Jul 2010 08:33:28 +0100 Subject: [PATCH] Fix the source manifest generation by using a simple shell script to scan the SRPMS, rather than a hideous make/shell fragment. Signed-off-by: David Scott --- mk/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mk/Makefile b/mk/Makefile index 5c0129f..e0b9806 100644 --- a/mk/Makefile +++ b/mk/Makefile @@ -26,10 +26,7 @@ srpm: $(MY_SOURCES)/MANIFEST: $(MY_SOURCES_DIRSTAMP) rm -f $@ - @for srpm in "$(/bin/ls -1 ${MY_OUTPUT_DIR}/SRPMS)"; do \ - path=$(MY_OUTPUT_DIR)/SRPMS/${srpm}; \ - echo "$(${RPM} --qf "%{name}" -qp ${path}) $(${RPM} --qf "%{License}" -qp ${path}) ${path}" >>$@; \ - done + /bin/sh ./srpms-to-manifest api-libs $(MY_OUTPUT_DIR)/SRPMS > $@ .PHONY: clean rm -f *.rpm -- 2.39.5