From ecd614bb73701b935dd68a8ca098a40fa0b419a1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Mon, 10 Jan 2011 13:49:39 -0500 Subject: [PATCH] cp SOURCEFILES --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index da4a2dc..7fe9b50 100644 --- a/Makefile +++ b/Makefile @@ -85,7 +85,8 @@ trees: sources srpm: sources mkdir -p SOURCES SRPMS (cd SOURCES; rpm2cpio ../$(SOURCE_RPM) | cpio -diu; \ - cp ../$(notdir $(SPECFILE)) . ; cp ../*.patch .;) + cp ../$(notdir $(SPECFILE)) . ; cp ../*.patch .; \ + for downloaded in $(SOURCEFILES) ; do cp ../$$downloaded . ; done ; ) ./rpmmacros.sh export HOME=$(shell pwd) ; rpmbuild $(RPMDIRDEFS) $(RPMDEFS) --nodeps -bs $(SPECFILE) -- 2.43.0