forked from pool/python-rpm-macros
- %__#FLAVOR# should be defined as
/usr/bin/python%{#FLAVOR#_version} not just /usr/bin/#FLAVOR# OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=108
This commit is contained in:
parent
e29527b47b
commit
41c3c050e8
@ -13,3 +13,22 @@
|
|||||||
|
|
||||||
|
|
||||||
### flavor-specific: generate from flavor.in
|
### flavor-specific: generate from flavor.in
|
||||||
|
--- a/flavor.in
|
||||||
|
+++ b/flavor.in
|
||||||
|
@@ -1,7 +1,5 @@
|
||||||
|
##### macro definitions for flavor "#FLAVOR#" #####
|
||||||
|
|
||||||
|
-%__#FLAVOR# /usr/bin/#FLAVOR#
|
||||||
|
-
|
||||||
|
%#FLAVOR#_shbang_opts %py_shbang_opts
|
||||||
|
|
||||||
|
%#FLAVOR#_prefix #FLAVOR#
|
||||||
|
@@ -10,6 +8,8 @@
|
||||||
|
%#FLAVOR#_version %{_python_sysconfig_var #FLAVOR# py_version_short}
|
||||||
|
%#FLAVOR#_version_nodots %{_python_sysconfig_var #FLAVOR# py_version_nodot}
|
||||||
|
|
||||||
|
+%__#FLAVOR# /usr/bin/python%{#FLAVOR#_version}
|
||||||
|
+
|
||||||
|
%#FLAVOR#_sysconfig_path() %{_rec_macro_helper}%{lua:call_sysconfig("path", "#FLAVOR#")}
|
||||||
|
%#FLAVOR#_sysconfig_var() %{_rec_macro_helper}%{lua:call_sysconfig("var", "#FLAVOR#")}
|
||||||
|
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 9 18:00:03 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- %__#FLAVOR# should be defined as
|
||||||
|
/usr/bin/python%{#FLAVOR#_version} not just /usr/bin/#FLAVOR#
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 2 11:44:33 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
Wed Sep 2 11:44:33 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user