From: Thierry Parmentelat Date: Sun, 13 Dec 2009 22:30:47 +0000 (+0000) Subject: when rebuilding via srpm, pass the expected srpm name to the "make srpm" command X-Git-Tag: coblitz-2.01.rc7~43 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=3c143f9ff918d7b3f0ed23a280dd4086d4abe870;p=build.git when rebuilding via srpm, pass the expected srpm name to the "make srpm" command --- diff --git a/Makefile b/Makefile index 9d1c74e4..6ffb8013 100644 --- a/Makefile +++ b/Makefile @@ -506,7 +506,7 @@ $($(1).srpm): $($(1).specpath) .rpmmacros $($(1).codebase) mkdir -p BUILD SRPMS tmp @(echo -n "XXXXXXXXXXXXXXX -- BEG SRPM $(1) (using make srpm) " ; date) $(call handle_devel_rpms_pre,$(1)) - make -C $($(1).codebase) srpm SPECFILE=$(HOME)/$($(1).specpath) && \ + make -C $($(1).codebase) srpm SPECFILE=$(HOME)/$($(1).specpath) EXPECTED_SRPM=$(notdir $($(1).srpm)) && \ rm -f SRPMS/$(notdir $($(1).srpm)) && \ ln $($(1).codebase)/$(notdir $($(1).srpm)) SRPMS/$(notdir $($(1).srpm)) $(call handle_devel_rpms_post,$(1))