commit 348b7835754202d7d65e6c70c4443cc04fd5a4f5
Author: Radek Novacek <rnovacek(a)redhat.com>
Date: Thu Aug 18 08:59:05 2011 +0200
Add Makefile 'upload' target and correct Source0 in specfile
Makefile | 3 +++
virt-who.spec | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/Makefile b/Makefile
index 20de009..8636c90 100644
--- a/Makefile
+++ b/Makefile
@@ -22,3 +22,6 @@ rpm: pack
rpmlint: srpm rpm
rpmlint $(name).spec $(shell rpmspec -q $(name).spec | sed
's/.noarch//').src.rpm noarch/$(shell rpmspec -q $(name).spec).rpm
+
+upload: pack
+ scp $(name)-$(version).tar.gz fedorahosted.org:$(name)
diff --git a/virt-who.spec b/virt-who.spec
index cc743b4..0919dde 100644
--- a/virt-who.spec
+++ b/virt-who.spec
@@ -6,7 +6,7 @@ Group: System Environment/Base
License: GPLv2+
URL:
https://fedorahosted.org/virt-who/
-Source0:
https://fedorahosted.org/virt-who/%{name}-%{version}.tar.gz
+Source0:
https://fedorahosted.org/releases/v/i/virt-who/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python2-devel