diff --git a/ebcdic-1.0.2.zip b/ebcdic-1.0.2.zip deleted file mode 100644 index a5fcd45..0000000 --- a/ebcdic-1.0.2.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:914492dec6e70ccd7aa3364d4f46930b25c2c3e5d0f24f375a7177f99b64304f -size 136341 diff --git a/python-ebcdic.changes b/python-ebcdic.changes index 4d664b3..f19d27b 100644 --- a/python-ebcdic.changes +++ b/python-ebcdic.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Sep 13 08:18:58 UTC 2019 - Tomáš Chvátal + +- Update to 1.1.1: + * supporrt for more codepages +- Switch to github archive and generate everything properly + ------------------------------------------------------------------- Tue Jul 30 01:57:36 PM UTC 2019 - John Vandenberg diff --git a/python-ebcdic.spec b/python-ebcdic.spec index 000085e..815eabc 100644 --- a/python-ebcdic.spec +++ b/python-ebcdic.spec @@ -18,17 +18,17 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-ebcdic -Version: 1.0.2 +Version: 1.1.1 Release: 0 Summary: Additional EBCDIC codecs for Python License: BSD-2-Clause Group: Development/Languages/Python -URL: https://pypi.python.org/pypi/ebcdic -Source: https://files.pythonhosted.org/packages/source/e/ebcdic/ebcdic-%{version}.zip +URL: https://github.com/roskakori/CodecMapper +Source: https://github.com/roskakori/CodecMapper/archive/v%{version}.tar.gz BuildRequires: %{python_module setuptools} +BuildRequires: ant BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: unzip BuildArch: noarch %python_subpackages @@ -36,15 +36,25 @@ BuildArch: noarch Additional EBCDIC codecs for Python. %prep -%setup -q -n ebcdic-%{version} +%setup -q -n CodecMapper-%{version}/ebcdic +# do not use venv python +sed -i -e 's:"${basedir}/venv/bin/python":"/usr/bin/python3":' ../build.xml %build +# first generate the py files +pushd .. +ant ebcdic +popd %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +export LANG="en_US.UTF8" +%python_exec setup.py test + %files %{python_files} %doc README.rst %license LICENSE.txt diff --git a/v1.1.1.tar.gz b/v1.1.1.tar.gz new file mode 100644 index 0000000..33a67c8 --- /dev/null +++ b/v1.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a1a77fdc7e87924e42826087bd9c0c4b48b779156c10cabc94eec237739c818 +size 18048