forked from pool/python-ebcdic
Accepting request 1203321 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1203321 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ebcdic?expand=0&rev=4
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 24 19:11:45 UTC 2024 - Guang Yee <gyee@suse.com>
|
||||
|
||||
- Enable sle15_python_module_pythons.
|
||||
- Use proper macro for python executable
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 7 12:49:49 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-ebcdic
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,7 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-ebcdic
|
||||
Version: 1.1.1
|
||||
Release: 0
|
||||
@@ -38,12 +38,12 @@ Additional EBCDIC codecs for Python.
|
||||
%prep
|
||||
%setup -q -n CodecMapper-%{version}/ebcdic
|
||||
# do not use venv python
|
||||
sed -i -e 's:"${basedir}/venv/bin/python":"/usr/bin/python3":' ../build.xml
|
||||
sed -i -e 's:"${basedir}/venv/bin/python":"${PYTHON}":' ../build.xml
|
||||
|
||||
%build
|
||||
# first generate the py files
|
||||
pushd ..
|
||||
ant ebcdic
|
||||
%python_expand ant ebcdic -DPYTHON="$python"
|
||||
popd
|
||||
%python_build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user