From 990b91e5a7c9a93c88edaa17191d6b2f0cb8138b Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Mar 03 2016 14:32:35 +0000 Subject: make copr-build: Use local SRPM, don't require an uploaded one --- diff --git a/Makefile b/Makefile index 445db1f..d44b34c 100644 --- a/Makefile +++ b/Makefile @@ -35,9 +35,8 @@ upload-fedorapeople: srpm upload: upload-fedorahosted upload-pypi upload-fedorapeople -copr-build: upload-fedorapeople - SRPMNAME=$$(ls rpmbuild/SRPMS); \ - copr-cli build pviktori/pytest-plugins https://fedorapeople.org/~$(FEDORA_USERNAME)/srpms/$$SRPMNAME +copr-build: srpm + copr-cli build pviktori/pytest-plugins rpmbuild/SRPMS/*.src.rpm wheel: python setup.py bdist_wheel