1
0

- 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:
Matej Cepl 2020-06-03 12:02:02 +00:00 committed by Git OBS Bridge
parent 7e10cf0281
commit 4548b004b7
2 changed files with 8 additions and 0 deletions

View File

@ -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 Wed Jun 03 08:16:36 UTC 2020 - mcepl@cepl.eu

View File

@ -52,6 +52,9 @@ dependencies automatically.
%if 0%{?suse_version} < 1330 %if 0%{?suse_version} < 1330
mv macros-default-pythons macros/035-default-pythons mv macros-default-pythons macros/035-default-pythons
%endif %endif
%if 0%{?suse_version} >= 1550
sed -i -e '/^%system_python/s/python2/python3/' macros/010-common-defs
%endif
%build %build
./compile-macros.sh ./compile-macros.sh