Commit 271441b0ef3d9935271343fcdc899c43d39a0e7f

Authored by Sergio Oliveira
1 parent 1168632a

Don't fail if no src.rpm is available

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/pkg-rpm/Makefile
@@ -73,7 +73,7 @@ $(build_src_packages): %-build-src : % @@ -73,7 +73,7 @@ $(build_src_packages): %-build-src : %
73 mkdir -p $(LOCAL_BUILD_DIR)/SOURCES 73 mkdir -p $(LOCAL_BUILD_DIR)/SOURCES
74 cp $*/*.tar.* $(LOCAL_BUILD_DIR)/SOURCES/ 74 cp $*/*.tar.* $(LOCAL_BUILD_DIR)/SOURCES/
75 cp $*/*.patch $(LOCAL_BUILD_DIR)/SOURCES/ || true 75 cp $*/*.patch $(LOCAL_BUILD_DIR)/SOURCES/ || true
76 - rm $(LOCAL_BUILD_DIR)/SRPMS/$*-*.src.rpm 76 + rm -f $(LOCAL_BUILD_DIR)/SRPMS/$*-*.src.rpm
77 cd $* && $(BUILD_PREFIX) rpmbuild --define "_topdir $(LOCAL_BUILD_DIR)" -bs $*.spec --nodeps 77 cd $* && $(BUILD_PREFIX) rpmbuild --define "_topdir $(LOCAL_BUILD_DIR)" -bs $*.spec --nodeps
78 78
79 $(upload_packages): %-upload : %-build-src % 79 $(upload_packages): %-upload : %-build-src %