diff --git a/python-thriftpy2.changes b/python-thriftpy2.changes index b1d8936..0378593 100644 --- a/python-thriftpy2.changes +++ b/python-thriftpy2.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Feb 20 10:09:40 UTC 2023 - Daniel Garcia + +- Remove .c and .h devel files from python package distribution. +- Update to 0.4.16: + * Fix unexpected binary type id in TBinaryTransport serialization +- versuib 0.4.15: + * Support Apache JSON protocol and binary type + * Replace "yield from" syntax to "await" + * Fix some socket leaking cases in aio support + ------------------------------------------------------------------- Tue Oct 26 11:02:14 UTC 2021 - Matej Cepl diff --git a/python-thriftpy2.spec b/python-thriftpy2.spec index 1d7dd3b..8c3c5ff 100644 --- a/python-thriftpy2.spec +++ b/python-thriftpy2.spec @@ -1,7 +1,7 @@ # # spec file for package python-thriftpy2 # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,8 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-thriftpy2 -Version: 0.4.14 +Version: 0.4.16 Release: 0 Summary: Pure python implementation of Apache Thrift License: MIT @@ -33,11 +32,13 @@ BuildRequires: %{python_module ply >= 3.4} BuildRequires: %{python_module pytest >= 2.8} BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six} BuildRequires: %{python_module tornado >= 5.0} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python3-pytest-asyncio Requires: python-ply >= 3.4 +Requires: python-six Recommends: python-tornado >= 5.0 Recommends: python-toro >= 0.6 %python_subpackages @@ -58,6 +59,10 @@ export CFLAGS="%{optflags}" %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} +%{python_expand # remove devel files +find %{buildroot}%{$python_sitearch} -name '*.h' -exec rm {} \; +find %{buildroot}%{$python_sitearch} -name '*.c' -exec rm {} \; +} %check cd tests @@ -68,6 +73,7 @@ cd tests %files %{python_files} %license LICENSE %doc CHANGES.rst README.rst -%{python_sitearch}/* +%{python_sitearch}/thriftpy2 +%{python_sitearch}/thriftpy2-%{version}*-info %changelog diff --git a/v0.4.14.tar.gz b/v0.4.14.tar.gz deleted file mode 100644 index 69c547b..0000000 --- a/v0.4.14.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f3e13f0f5bfb6def45e2f8188a5bac067cb4464af4ae3ac2bf786ffc867faaed -size 127552 diff --git a/v0.4.16.tar.gz b/v0.4.16.tar.gz new file mode 100644 index 0000000..04a6d41 --- /dev/null +++ b/v0.4.16.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f68408313bf81ad1088368063044c5b89581b9aa1dbca7eda9e1b23ea6f98239 +size 146991