- Add patch use-python3.patch: * Use python3 to create header files. OBS-URL: https://build.opensuse.org/request/show/1031285 OBS-URL: https://build.opensuse.org/package/show/Base:System/x86info?expand=0&rev=23
14 lines
441 B
Diff
14 lines
441 B
Diff
Index: x86info-1.31+git.20200121/lsmsr/Makefile
|
|
===================================================================
|
|
--- x86info-1.31+git.20200121.orig/lsmsr/Makefile
|
|
+++ x86info-1.31+git.20200121/lsmsr/Makefile
|
|
@@ -40,7 +40,7 @@ LSMSR_TMP_HEADERS=AMD_k8.h \
|
|
generic_msr.h
|
|
|
|
%.h: %.regs createheader.py
|
|
- @python createheader.py $< `basename $< .regs` >$@
|
|
+ @python3 createheader.py $< `basename $< .regs` >$@
|
|
|
|
LSMSR_SRC = \
|
|
lsmsr.c \
|