Commit e5d2c1f09023f78b127d2ec8bf650f28c6154ac0

Authored by Sergio Oliveira
1 parent c6ce8037

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 %
... ...