From 902639ece67b098180e6841a7d6deec920534b9e Mon Sep 17 00:00:00 2001 From: Miguel Mota Date: Sat, 23 Jun 2018 03:00:53 -0700 Subject: [PATCH] update makefile --- Makefile | 5 ++++- README.md | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f1a01a7..906f33d 100644 --- a/Makefile +++ b/Makefile @@ -92,6 +92,9 @@ rpm/lint: rpm/dirs: mkdir -p ~/rpmbuild/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS} +rpm/download: + wget https://github.com/miguelmota/cointop/archive/1.0.6.tar.gz -O ~/rpmbuild/SOURCES/1.0.6.tar.gz + copr/install/cli: sudo dnf install -y copr-cli @@ -99,8 +102,8 @@ copr/create-project: copr-cli create cointop --chroot fedora-rawhide-x86_64 copr/build: - rm -rf ~/rpmbuild/SRPMS/cointop-*.rpm copr-cli build cointop ~/rpmbuild/SRPMS/cointop-*.rpm + rm -rf ~/rpmbuild/SRPMS/cointop-*.rpm brew/clean: brew/remove brew cleanup --force cointop diff --git a/README.md b/README.md index 04ada1b..eb8292a 100644 --- a/README.md +++ b/README.md @@ -596,6 +596,7 @@ Build package ```bash make rpm/cp/specs +make rpm/download make rpm/build make copr/build ```