4 Commits

Author SHA256 Message Date
50b14bf447 Accepting request 1314312 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1314312
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/thrift?expand=0&rev=20
2025-10-30 16:09:38 +00:00
9b4910fbc2 - Use pyproject macros to build and install.
OBS-URL: https://build.opensuse.org/package/show/devel:tools/thrift?expand=0&rev=51
2025-10-29 10:27:12 +00:00
6a6e600528 Accepting request 1286884 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1286884
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/thrift?expand=0&rev=19
2025-06-20 14:48:24 +00:00
de430db9f0 - Update to 0.22.0:
* ### Build Process
    - THRIFT-5836 - 0.21.0 fails to build from sources at Arch Linux: No rule
      to make target 'Thrift5272.thrift', needed by
      'gen-cpp/Thrift5272_types.h'
    - THRIFT-5860 - cmake 3.5 as a minimum version does not work with cmake
      4.0.0
  * ### C glib
    - THRIFT-5817 - [C++] Avoid copy of TUuid
  * ### C++
    - THRIFT-5637 - Thrift compiler should be able to output c++ Aggregate
      types
    - THRIFT-5667 - Make ThriftConfig.cmake relocatable
    - THRIFT-5817 - [C++] Avoid copy of TUuid
    - THRIFT-5821 - Cannot compile against aws-lc libcrypto (openssl
      replacement from AWS)
    - THRIFT-5841 - possible init/deinit conflict with manual initialization
      flag
    - THRIFT-5853 - Remove oldstyle casts from TBufferTransports and
      TCompactProtocol
    - THRIFT-5854 - TCompactProtocol readString checks maxMessageSize at wrong
      position and off by one
    - THRIFT-5868 - UUID Support for TCompactProtocol
    - THRIFT-5865 - Fix TBinayProtocol with list<UUID>
  * ### Compiler (General)
    - THRIFT-5823 - Fix illegal uses of exceptions as normal struct type
    - THRIFT-5835 - Allow exceptions to be used as regular struct datatype
  * # Delphi
    - THRIFT-5822 - Remove deprecated AnsiString functions from the library
    - THRIFT-5824 - Migrate, refactor and improve Delphi code generation test
      script
    - THRIFT-5825 - UUID constants lead to uncompileable Delphi code
    - THRIFT-5826 - binary constants create uncompilable Delphi code
    - THRIFT-5827 - enums in typedefs are not resolved in all cases
    - THRIFT-5837 - Delphi implementation for THRIFT-5835
    - THRIFT-5839 - incorrect cast under Win64
    - THRIFT-5850 - Switch IThriftConfiguration interface from Cardinal to
      Integer
    - THRIFT-5851 - Promote known total stream sizes for seekable stream
      transports properly
    - THRIFT-5856 - Client should validate HTTP status
  * ### Go
    - THRIFT-5833 - go: Combine I/O and original error in compiler generated
      Process functions
    - THRIFT-5845 - The write error for union fields should be TException
    - THRIFT-5859 - go: Generate a map for know values of an enum type
  * ### Java
    - THRIFT-5858 - Introduce new type MESSAGE_SIZE_LIMIT in
      TTransportException
  * ### netstd
    - THRIFT-5832 - Drop net6 support and add net9 instead
    - THRIFT-5838 - THttpTransport.FlushAsync does not include original
      exception
    - THRIFT-5852 - Promote known total stream sizes for seekable stream
      transports
  * ### Node.js
    - THRIFT-5811 - Add ES module support to JS codegen
    - THRIFT-5848 - Expose InputBufferUnderrunError in nodejs client
    - THRIFT-5849 - Expose createClient in browser version of nodejs package
  * ### PHP
    - THRIFT-1482 - Unix domain socket support under PHP
    - THRIFT-5829 - PHP lib Use of "static" in callables is deprecated notice
  * ### Python
    - THRIFT-5024 - tutorial\py.tornado\PythonServer.py failed under Tornado6
    - THRIFT-5847 - Python3.12 deprecation in THttpClient
    - THRIFT-5857 - Remove deprecated Tornado io_loop usage
    - THRIFT-5861 - Add isOpen method to TTornadoStreamTransport
  * ### Swift
    - THRIFT-4838 - add unix domain socket support to Swift TSocketTransport
      implementation

OBS-URL: https://build.opensuse.org/package/show/devel:tools/thrift?expand=0&rev=49
2025-06-19 09:53:54 +00:00
6 changed files with 108 additions and 30 deletions

Binary file not shown.

View File

@@ -1,14 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQHKBAABCgA0FiEEjNh/GG8G6VjvypY9dr00D8S3WGUFAmMY/PIWHGplbnNnZXll
ckBob3RtYWlsLmNvbQAKCRB2vTQPxLdYZUz9C/95cIxGCeaL54ITi8BtTumi/OXB
Q9Mres+azVCr7YuAgxZTC+XXyeqGDnHHWBLD2knn0QnjR423P+g/wM6d9gMasxzr
gferi26NxQak8jPWhAuBsMff/XjnTviAXt2svLJjEbMwNTHX+yedzkLQUqRAwDfD
S4C0UtPXTMUchf1P4HLAYiRaJt5v57xoTjwCJBOwVxRuLIPylLKCSdXNouCDuNXg
tSqRyQfZkA9R4OdkPd5wxrSqsCvWigs+KbdHewmOi49u35sbubkw1uxKDwX96Yne
65f9IPPwV7p4Xemq6p49ihhCFM1Ju1ynXC94uBuTCh50/uA7ciDjADfKuQclHDiP
3JWjgT4CiWAN2cu2UAsJx6n8l/4EFK5hb78eBhKoEQGc4xX8zvqmI9QEyibB7sxL
xKoC2hxjGzdWea6MNkCGiqw9V+NYMXc/XxA6JzeyPjFxza+LaJqumjg8a17+tkpb
7kMHsBOcw3lFGRv/xjm6mZ/aWNv89a8W467Pbck=
=w73Q
-----END PGP SIGNATURE-----

3
thrift-0.22.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:794a0e455787960d9f27ab92c38e34da27e8deeda7a5db0e59dc64a00df8a1e5
size 4422267

14
thrift-0.22.0.tar.gz.asc Normal file
View File

@@ -0,0 +1,14 @@
-----BEGIN PGP SIGNATURE-----
iQHKBAABCgA0FiEEjNh/GG8G6VjvypY9dr00D8S3WGUFAmgnonAWHGplbnNnZXll
ckBob3RtYWlsLmNvbQAKCRB2vTQPxLdYZVFHDACDTBC4wVX9Lj/ul/5X2AL0IyA5
T2aQLvnx/q68CREQqDKqmfNiZI0PZjJy+BasfeeQSWNCNvfc+zGNSOiIIeNMavhw
wSFcktpU2N2BWh1Ge+q54eJZX7bzQF04mG4uGKCrKo38FveZvDPbJ7sPPH0UNSs8
Mhvnan/QTAyFxr9iy3CMwdnrodMWjp+O2645p1dw64AAgFXSzJEZMC3kznqLnpUj
er5tx6eOG/ZDL78MdlUHu/CJ4xh5haVgg7t8LciPMWr0r0IHTpZwaMSmWPeqP1qt
z+l424LGxYh5rxTj25BXkoogQjiO1sz8FAm/PzaHFo0rPzAUFngD3/UW6nqEn9Zh
gLhIjcViP2gbCOjrBLKYID/fl5orTYNuenSp99egiSZ0mVb42kh+j+wtbQ78K34N
QZYiaVPw0AMJNx68FP/NITqeskvyj/erFU9TxGW9UICuYkI1pge28uU3zJj+wPE7
23cJwZctM7F+gfL1blJlvXSZEKoUTWB7fUDgqHo=
=Fig/
-----END PGP SIGNATURE-----

View File

@@ -1,3 +1,82 @@
-------------------------------------------------------------------
Tue Oct 28 04:16:30 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Use pyproject macros to build and install.
-------------------------------------------------------------------
Thu Jun 19 09:23:37 UTC 2025 - James Oakley <jfunk@funktronics.ca>
- Update to 0.22.0:
* ### Build Process
- THRIFT-5836 - 0.21.0 fails to build from sources at Arch Linux: No rule
to make target 'Thrift5272.thrift', needed by
'gen-cpp/Thrift5272_types.h'
- THRIFT-5860 - cmake 3.5 as a minimum version does not work with cmake
4.0.0
* ### C glib
- THRIFT-5817 - [C++] Avoid copy of TUuid
* ### C++
- THRIFT-5637 - Thrift compiler should be able to output c++ Aggregate
types
- THRIFT-5667 - Make ThriftConfig.cmake relocatable
- THRIFT-5817 - [C++] Avoid copy of TUuid
- THRIFT-5821 - Cannot compile against aws-lc libcrypto (openssl
replacement from AWS)
- THRIFT-5841 - possible init/deinit conflict with manual initialization
flag
- THRIFT-5853 - Remove oldstyle casts from TBufferTransports and
TCompactProtocol
- THRIFT-5854 - TCompactProtocol readString checks maxMessageSize at wrong
position and off by one
- THRIFT-5868 - UUID Support for TCompactProtocol
- THRIFT-5865 - Fix TBinayProtocol with list<UUID>
* ### Compiler (General)
- THRIFT-5823 - Fix illegal uses of exceptions as normal struct type
- THRIFT-5835 - Allow exceptions to be used as regular struct datatype
* # Delphi
- THRIFT-5822 - Remove deprecated AnsiString functions from the library
- THRIFT-5824 - Migrate, refactor and improve Delphi code generation test
script
- THRIFT-5825 - UUID constants lead to uncompileable Delphi code
- THRIFT-5826 - binary constants create uncompilable Delphi code
- THRIFT-5827 - enums in typedefs are not resolved in all cases
- THRIFT-5837 - Delphi implementation for THRIFT-5835
- THRIFT-5839 - incorrect cast under Win64
- THRIFT-5850 - Switch IThriftConfiguration interface from Cardinal to
Integer
- THRIFT-5851 - Promote known total stream sizes for seekable stream
transports properly
- THRIFT-5856 - Client should validate HTTP status
* ### Go
- THRIFT-5833 - go: Combine I/O and original error in compiler generated
Process functions
- THRIFT-5845 - The write error for union fields should be TException
- THRIFT-5859 - go: Generate a map for know values of an enum type
* ### Java
- THRIFT-5858 - Introduce new type MESSAGE_SIZE_LIMIT in
TTransportException
* ### netstd
- THRIFT-5832 - Drop net6 support and add net9 instead
- THRIFT-5838 - THttpTransport.FlushAsync does not include original
exception
- THRIFT-5852 - Promote known total stream sizes for seekable stream
transports
* ### Node.js
- THRIFT-5811 - Add ES module support to JS codegen
- THRIFT-5848 - Expose InputBufferUnderrunError in nodejs client
- THRIFT-5849 - Expose createClient in browser version of nodejs package
* ### PHP
- THRIFT-1482 - Unix domain socket support under PHP
- THRIFT-5829 - PHP lib Use of "static" in callables is deprecated notice
* ### Python
- THRIFT-5024 - tutorial\py.tornado\PythonServer.py failed under Tornado6
- THRIFT-5847 - Python3.12 deprecation in THttpClient
- THRIFT-5857 - Remove deprecated Tornado io_loop usage
- THRIFT-5861 - Add isOpen method to TTornadoStreamTransport
* ### Swift
- THRIFT-4838 - add unix domain socket support to Swift TSocketTransport
implementation
-------------------------------------------------------------------
Fri Feb 9 08:30:47 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package thrift
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,21 +16,19 @@
#
%global libversion 0_17_0
%global libversion 0_22_0
%global libgversion 0
%bcond_without perl
%bcond_without c
%bcond_without python2
%bcond_without python3
%bcond_with java
%bcond_with ruby
%bcond_with qt5
%define skip_python2 1
%if %{without python3}
%define skip_python3 1
%endif
Name: thrift
Version: 0.17.0
Version: 0.22.0
Release: 0
Summary: Framework for scalable cross-language services development
License: Apache-2.0
@@ -71,7 +69,9 @@ BuildRequires: perl(Class::Accessor)
%endif
%if %{with python3}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
%if 0%{?suse_version} >= 1550
# if python multiflavor is available, use it to generate subpackages
@@ -163,7 +163,6 @@ Caml, and Haskell.
%package -n python-thrift
Summary: Python %{python_version} bindings for the Thrift software framework
Group: Development/Libraries/Python
Requires: python-six >= 1.7.2
Suggests: python-Twisted
Suggests: python-tornado >= 4.0
%if %{python_version_nodots} <= 34 && %{python_version_nodots} > 30
@@ -184,7 +183,6 @@ Caml, and Haskell.
%package -n python3-thrift
Summary: Python3 bindings for the Thrift software framework
Group: Development/Libraries/Python
Requires: python3-six >= 1.7.2
Suggests: python3-Twisted
Suggests: python3-tornado >= 4.0
%if %{python3_version_nodots} <= 34
@@ -205,19 +203,20 @@ Caml, and Haskell.
%autosetup -p1
%build
# https://issues.apache.org/jira/browse/THRIFT-5498
%global _lto_cflags %{nil}
export CXXFLAGS="%{optflags} -fPIC"
# tests require static boost library
# Disable autotools python build as it attempts to use pip
%configure \
--disable-tests \
--enable-static=no
--enable-static=no \
--without-py3 \
--without-python
make %{?_smp_mflags}
%if %{with python3}
pushd lib/py
%python_build
%pyproject_wheel
popd
%endif
@@ -232,7 +231,7 @@ popd
%if %{with python3}
pushd lib/py
%python_install
%pyproject_install
popd
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%endif
@@ -296,7 +295,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
%license LICENSE NOTICE
%doc lib/py/README.md
%{python_sitearch}/thrift
%{python_sitearch}/thrift-%{version}*-info
%{python_sitearch}/thrift-%{version}.dist-info
%endif
%changelog