Skip to content

Commit 2a5ff79

Browse files
committed
update make set-version after rpm changes
Fixes: bf5c951
1 parent 9876299 commit 2a5ff79

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ set-version: check-ver
102102
perl -i -pe 's/^(#define TP_VERSION ").*/$${1}$(VER)"/' thinkpad_ec.c tp_smapi.c
103103
perl -i -pe 's/^(TP_VER := ).*/$${1}$(VER)/' Makefile
104104
perl -i -pe 's/^(PACKAGE_VERSION=").*/$${1}$(VER)"/' dkms.conf
105-
perl -i -pe 's/^(%define version ).*/$${1}$(VER)/' tp_smapi.spec
105+
perl -i -pe 's/^(Version:\s+).*/$${1}$(VER)/' tp_smapi.spec
106106

107107
create-tgz: check-ver
108108
git archive --format=tar --prefix=tp_smapi-$(VER)/ HEAD | gzip -c > $(TGZ)

0 commit comments

Comments
 (0)