From 271441b0ef3d9935271343fcdc899c43d39a0e7f Mon Sep 17 00:00:00 2001 From: Sergio Oliveira Date: Mon, 26 Oct 2015 15:45:53 -0200 Subject: [PATCH] Don't fail if no src.rpm is available --- src/pkg-rpm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg-rpm/Makefile b/src/pkg-rpm/Makefile index dc70137..f4f5b65 100644 --- a/src/pkg-rpm/Makefile +++ b/src/pkg-rpm/Makefile @@ -73,7 +73,7 @@ $(build_src_packages): %-build-src : % mkdir -p $(LOCAL_BUILD_DIR)/SOURCES cp $*/*.tar.* $(LOCAL_BUILD_DIR)/SOURCES/ cp $*/*.patch $(LOCAL_BUILD_DIR)/SOURCES/ || true - rm $(LOCAL_BUILD_DIR)/SRPMS/$*-*.src.rpm + rm -f $(LOCAL_BUILD_DIR)/SRPMS/$*-*.src.rpm cd $* && $(BUILD_PREFIX) rpmbuild --define "_topdir $(LOCAL_BUILD_DIR)" -bs $*.spec --nodeps $(upload_packages): %-upload : %-build-src % -- libgit2 0.21.2