forked from pool/python-rpm-macros
- For Factory change %system_python to python3.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=92
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 3 12:01:30 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- For Factory change %system_python to python3.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 03 08:16:36 UTC 2020 - mcepl@cepl.eu
|
||||
|
||||
|
@@ -52,6 +52,9 @@ dependencies automatically.
|
||||
%if 0%{?suse_version} < 1330
|
||||
mv macros-default-pythons macros/035-default-pythons
|
||||
%endif
|
||||
%if 0%{?suse_version} >= 1550
|
||||
sed -i -e '/^%system_python/s/python2/python3/' macros/010-common-defs
|
||||
%endif
|
||||
|
||||
%build
|
||||
./compile-macros.sh
|
||||
|
Reference in New Issue
Block a user