- Changes related to move from fedoraproject.org to github
authorVitezslav Crhonek <vcrhonek@redhat.com>
Tue, 7 Mar 2017 08:19:24 +0000 (09:19 +0100)
committerVitezslav Crhonek <vcrhonek@redhat.com>
Tue, 7 Mar 2017 08:19:24 +0000 (09:19 +0100)
Signed-off-by: Vitezslav Crhonek <vcrhonek@redhat.com>
Makefile
hwdata.spec

index 7fff7aafc44f30ac603f92a7d2dfe22f45aa611b..6f16e91abe5f9ecd7b6793f8ce3f04615bf175bb 100644 (file)
--- 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)
index 7d02af0fd8a76fa4528763bd20ced05cca9f3ff2..9ee8669d58e41e2414d268900befbd9cf19d83e1 100644 (file)
@@ -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