Commit 271441b0ef3d9935271343fcdc899c43d39a0e7f
1 parent
1168632a
Exists in
master
and in
67 other branches
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 | 73 | mkdir -p $(LOCAL_BUILD_DIR)/SOURCES |
74 | 74 | cp $*/*.tar.* $(LOCAL_BUILD_DIR)/SOURCES/ |
75 | 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 | 77 | cd $* && $(BUILD_PREFIX) rpmbuild --define "_topdir $(LOCAL_BUILD_DIR)" -bs $*.spec --nodeps |
78 | 78 | |
79 | 79 | $(upload_packages): %-upload : %-build-src % | ... | ... |