Commit 2d2324a86bee63c9cbcb31b577fa5693667a9d61
1 parent
196401f1
Exists in
master
and in
19 other branches
Using only copr-cli from system
Signed-off-by: Alessandro Caetano <alessandro.caetanob@gmail.com> Signed-off-by: Lucas Kanashiro <kanashiro.duarte@gmail.com>
Showing
1 changed file
with
1 additions
and
7 deletions
Show diff stats
src/pkg-rpm/Makefile
| @@ -77,13 +77,7 @@ $(build_src_packages): %-build-src : % | @@ -77,13 +77,7 @@ $(build_src_packages): %-build-src : % | ||
| 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 % copr-cli | 79 | $(upload_packages): %-upload : %-build-src % copr-cli |
| 80 | - if [ -f /bin/copr-cli ]; then copr-cli build $(COPR_PROJECT) $(LOCAL_BUILD_DIR)/SRPMS/$*-*.src.rpm --nowait; else .virtualenv/bin/copr-cli build $(COPR_PROJECT) $(LOCAL_BUILD_DIR)/SRPMS/$*-*.src.rpm --nowait; fi | ||
| 81 | - | ||
| 82 | -copr-cli: .virtualenv/bin/copr-cli | ||
| 83 | - | ||
| 84 | -.virtualenv/bin/copr-cli: | ||
| 85 | - virtualenv .virtualenv | ||
| 86 | - .virtualenv/bin/pip install copr-cli | 80 | + copr-cli build $(COPR_PROJECT) $(LOCAL_BUILD_DIR)/SRPMS/$*-*.src.rpm --nowait |
| 87 | 81 | ||
| 88 | ### OBS targets (deprecated) | 82 | ### OBS targets (deprecated) |
| 89 | 83 |