From f562b46c54d22a213cff63aea3cd130ce06cd0bf Mon Sep 17 00:00:00 2001 From: Josef Schlehofer Date: Wed, 9 Dec 2020 01:26:37 +0100 Subject: [PATCH] hwinfo: fix hardcoded version in patch Fixes: 7dc7e46d4840ae6905eec995e277553cd96e6639 ("hwinfo: update to version 21.71") Signed-off-by: Josef Schlehofer --- utils/hwinfo/Makefile | 2 +- utils/hwinfo/patches/0-hardcoding-version | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/hwinfo/Makefile b/utils/hwinfo/Makefile index ffa668b052..40993627a9 100644 --- a/utils/hwinfo/Makefile +++ b/utils/hwinfo/Makefile @@ -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)? diff --git a/utils/hwinfo/patches/0-hardcoding-version b/utils/hwinfo/patches/0-hardcoding-version index cf98939f93..6986f67961 100644 --- a/utils/hwinfo/patches/0-hardcoding-version +++ b/utils/hwinfo/patches/0-hardcoding-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