Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-python-snappy for
openSUSE:Factory checked in at 2026-04-10 23:44:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-snappy (Old)
and /work/SRC/openSUSE:Factory/.python-python-snappy.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-snappy"
Fri Apr 10 23:44:57 2026 rev:8 rq:1345935 version:0.7.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-python-snappy/python-python-snappy.changes
2025-06-11 16:24:51.856312961 +0200
+++
/work/SRC/openSUSE:Factory/.python-python-snappy.new.21863/python-python-snappy.changes
2026-04-10 23:45:03.907699368 +0200
@@ -1,0 +2,8 @@
+Fri Apr 10 18:04:50 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to version 0.7.3:
+ * Port to cramjam instead of C extension
+ * Remove C extension and snappy-devel dependency
+- Clean up %check and %files for noarch build
+
+-------------------------------------------------------------------
@@ -42 +49,0 @@
-
Old:
----
python-snappy-0.6.1.tar.gz
New:
----
python_snappy-0.7.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-snappy.spec ++++++
--- /var/tmp/diff_new_pack.vxl6JU/_old 2026-04-10 23:45:04.619728659 +0200
+++ /var/tmp/diff_new_pack.vxl6JU/_new 2026-04-10 23:45:04.623728824 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-python-snappy
#
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 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
@@ -17,53 +17,49 @@
Name: python-python-snappy
-Version: 0.6.1
+Version: 0.7.3
Release: 0
Summary: Python library for the snappy compression library
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/andrix/python-snappy
-Source:
https://files.pythonhosted.org/packages/source/p/python-snappy/python-snappy-%{version}.tar.gz
-BuildRequires: %{python_module devel}
+Source:
https://files.pythonhosted.org/packages/source/p/python-snappy/python_snappy-%{version}.tar.gz
+BuildRequires: %{python_module cramjam >= 2.6.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
-BuildRequires: c++_compiler
BuildRequires: fdupes
-BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
-BuildRequires: snappy-devel
+Requires: python-cramjam >= 2.6.0
+BuildArch: noarch
%python_subpackages
%description
Python library for the snappy compression library from Google.
%prep
-%setup -q -n python-snappy-%{version}
+%autosetup -p1 -n python_snappy-%{version}
sed -i -e '/^#!\//, 1d' src/snappy/snappy.py
%build
-export CFLAGS="%{optflags}"
%pyproject_wheel
%install
%pyproject_install
-%python_expand %fdupes %{buildroot}%{$python_sitearch}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
mkdir tester
cp test_*.py tester/
pushd tester
-%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
-$python -B test_snappy.py
+%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
$python -B test_formats.py
-$python -B test_hadoop_snappy.py
}
popd
%files %{python_files}
%doc AUTHORS README.rst
%license LICENSE
-%{python_sitearch}/snappy
-%{python_sitearch}/python[-_]snappy-%{version}*-info
+%{python_sitelib}/snappy
+%{python_sitelib}/python[-_]snappy-%{version}*-info