From cef074fc47b426deb8348b8ac03af551ac1c70aa Mon Sep 17 00:00:00 2001 From: Vitezslav Crhonek Date: Tue, 7 Mar 2017 09:19:24 +0100 Subject: [PATCH] - Changes related to move from fedoraproject.org to github Signed-off-by: Vitezslav Crhonek --- Makefile | 4 ++-- hwdata.spec | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 7fff7aa..6f16e91 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ ifeq ($(shell git rev-parse --abbrev-ref HEAD | sed -n 's/^\([^0-9-]\+\).*/\L\1/ # 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 @@ -82,7 +82,7 @@ create-archive: @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) diff --git a/hwdata.spec b/hwdata.spec index 7d02af0..9ee8669 100644 --- a/hwdata.spec +++ b/hwdata.spec @@ -4,8 +4,8 @@ Version: 0.298 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 -- 2.25.1