hwinfo: fix hardcoded version in patch

Fixes: 7dc7e46d48 ("hwinfo: update to
version 21.71")

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This commit is contained in:
Josef Schlehofer 2020-12-09 01:26:37 +01:00
parent 7218ff0318
commit f562b46c54
No known key found for this signature in database
GPG key ID: B950216FE4329F4C
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=hwinfo PKG_NAME:=hwinfo
PKG_VERSION:=21.71 PKG_VERSION:=21.71
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/openSUSE/hwinfo/tar.gz/$(PKG_VERSION)? PKG_SOURCE_URL:=https://codeload.github.com/openSUSE/hwinfo/tar.gz/$(PKG_VERSION)?

View file

@ -13,7 +13,7 @@ with hwinfo version changes when updating the package
-VERSION := $(shell $(GIT2LOG) --version VERSION ; cat VERSION) -VERSION := $(shell $(GIT2LOG) --version VERSION ; cat VERSION)
-endif -endif
+BRANCH := master +BRANCH := master
+VERSION := $(shell echo 21.7 > VERSION; cat VERSION) +VERSION := $(shell echo 21.71 > VERSION; cat VERSION)
PREFIX := hwinfo-$(VERSION) PREFIX := hwinfo-$(VERSION)
include Makefile.common include Makefile.common