mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
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:
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=hwinfo
|
||||
PKG_VERSION:=21.71
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/openSUSE/hwinfo/tar.gz/$(PKG_VERSION)?
|
||||
|
||||
@@ -13,7 +13,7 @@ with hwinfo version changes when updating the package
|
||||
-VERSION := $(shell $(GIT2LOG) --version VERSION ; cat VERSION)
|
||||
-endif
|
||||
+BRANCH := master
|
||||
+VERSION := $(shell echo 21.7 > VERSION; cat VERSION)
|
||||
+VERSION := $(shell echo 21.71 > VERSION; cat VERSION)
|
||||
PREFIX := hwinfo-$(VERSION)
|
||||
|
||||
include Makefile.common
|
||||
|
||||
Reference in New Issue
Block a user