Signed-off-by: Vitezslav Crhonek <vcrhonek@redhat.com>
# add revision to tag name for rhel branches
TAGNAME := $(NAME)-$(VERSION)-$(RELEASE)
else
- TAGNAME := $(NAME)-$(VERSION)
+ TAGNAME := v$(VERSION)
endif
SOURCEDIR := $(shell pwd)
ARCHIVE := $(TAGNAME).tar.bz2
@echo ""
@echo "The final archive is in $(ARCHIVE)"
-archive: check clean commit tag create-archive
+archive: check clean commit tag
upload:
@scp $(ARCHIVE) fedorahosted.org:$(NAME)
Release: 1%{?dist}
License: GPLv2+
Group: System Environment/Base
-Source: https://fedorahosted.org/releases/h/w/%{name}/%{name}-%{version}.tar.bz2
-URL: http://git.fedorahosted.org/git/hwdata.git
+Source: https://github.com/vcrhonek/hwdata/archive/v%{version}.tar.gz
+URL: https://github.com/vcrhonek/hwdata
BuildArch: noarch
%description