Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package lerc for openSUSE:Factory checked in at 2026-10-20 12:34:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lerc (Old) and /work/SRC/openSUSE:Factory/.lerc.new.3698736 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lerc" Tue Oct 20 12:34:28 2026 rev:6 rq:1385839 version:4.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/lerc/lerc.changes 2026-03-23 17:11:15.092389133 +0100 +++ /work/SRC/openSUSE:Factory/.lerc.new.3698736/lerc.changes 2026-10-20 12:34:40.367378367 +0200 @@ -1,0 +2,14 @@ +Sun Oct 18 05:57:37 UTC 2026 - Martin Pluskal <[email protected]> + +- Update to version 4.2.0 + * Enforce size limits: input data and compressed blob limited to + 2 GB per band and 4 GB over all bands; oversized dimensions now + report a new DimensionsTooLarge error instead of risking + integer overflows from bogus blob headers + * Coverity fixes and overflow checks + * 4.1.1: fixed two security issues and minor bugs (no CVE IDs + assigned upstream) +- Refresh pylerc-use-syslib.patch for the 4.2.0 sources +- Drop Group tag (spec-cleaner run) + +------------------------------------------------------------------- --- /work/SRC/openSUSE:Factory/lerc/python-pylerc.changes 2026-05-28 17:24:23.373386757 +0200 +++ /work/SRC/openSUSE:Factory/.lerc.new.3698736/python-pylerc.changes 2026-10-20 12:34:40.388379242 +0200 @@ -1,0 +2,11 @@ +Sun Oct 18 05:57:41 UTC 2026 - Martin Pluskal <[email protected]> + +- Update to version 4.2.0 (upstream pylerc 4.2.0) + * Follows the lerc 4.2.0 sources: size-limit hardening and + security fixes, see lerc.changes + * Upstream now ships a PEP 517 pyproject.toml and a Python 3.14 + classifier +- Refresh pylerc-use-syslib.patch for the 4.2.0 sources +- Drop Group tag (spec-cleaner run) + +------------------------------------------------------------------- Old: ---- lerc-4.1.0.tar.gz New: ---- lerc-4.2.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lerc.spec ++++++ --- /var/tmp/diff_new_pack.Il7saE/_old 2026-10-20 12:34:41.218413846 +0200 +++ /var/tmp/diff_new_pack.Il7saE/_new 2026-10-20 12:34:41.219413887 +0200 @@ -19,11 +19,10 @@ %define sover 4 %define lname libLerc Name: lerc -Version: 4.1.0 +Version: 4.2.0 Release: 0 Summary: Limited Error Raster Compression License: Apache-2.0 -Group: Development/Libraries/C and C++ URL: https://github.com/Esri/lerc Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source99: baselibs.conf @@ -31,7 +30,6 @@ BuildRequires: cmake BuildRequires: dos2unix - %description LERC is an open-source image or raster format which supports rapid encoding and decoding for any pixel type (not just RGB or Byte). Users set the @@ -89,4 +87,3 @@ %{_libdir}/libLerc.so %{_libdir}/pkgconfig/Lerc.pc - ++++++ python-pylerc.spec ++++++ --- /var/tmp/diff_new_pack.Il7saE/_old 2026-10-20 12:34:41.257415472 +0200 +++ /var/tmp/diff_new_pack.Il7saE/_new 2026-10-20 12:34:41.261415638 +0200 @@ -17,32 +17,30 @@ %define sover 4 %define lname libLerc -%define cversion 4.1.0 +%define cversion 4.2.0 Name: python-pylerc -Version: 4.1 +Version: 4.2.0 Release: 0 Summary: Python Bindings for LERC: Limited Error Raster Compression License: Apache-2.0 -Group: Development/Libraries/C and C++ URL: https://github.com/Esri/lerc Source0: lerc-%{cversion}.tar.gz # PATCH-FEATURE-OPENSUSE: Use the system library instead of copying to the python sitelib Patch0: pylerc-use-syslib.patch -BuildRequires: dos2unix -BuildRequires: python-rpm-macros -BuildRequires: fdupes -BuildRequires: lerc-devel BuildRequires: %{python_module base >= 3.11} +BuildRequires: %{python_module numpy >= 2.3.0} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} -BuildRequires: %{python_module numpy >= 2.3.0} -Requires: python-numpy >= 2.3.0 +BuildRequires: dos2unix +BuildRequires: fdupes +BuildRequires: lerc-devel +BuildRequires: python-rpm-macros Requires: %{lname}%{sover} = %{cversion} +Requires: python-numpy >= 2.3.0 BuildArch: noarch %python_subpackages - %description LERC is an open-source image or raster format which supports rapid encoding and decoding for any pixel type (not just RGB or Byte). Users set the ++++++ lerc-4.1.0.tar.gz -> lerc-4.2.0.tar.gz ++++++ ++++ 3679 lines of diff (skipped) ++++++ pylerc-use-syslib.patch ++++++ --- /var/tmp/diff_new_pack.Il7saE/_old 2026-10-20 12:34:41.607430063 +0200 +++ /var/tmp/diff_new_pack.Il7saE/_new 2026-10-20 12:34:41.614430355 +0200 @@ -1,6 +1,6 @@ -diff -ur lerc-4.1.0.orig/OtherLanguages/Python/lerc/_lerc.py lerc-4.1.0/OtherLanguages/Python/lerc/_lerc.py ---- lerc-4.1.0.orig/OtherLanguages/Python/lerc/_lerc.py 2026-03-15 12:29:27.160819309 +0100 -+++ lerc-4.1.0/OtherLanguages/Python/lerc/_lerc.py 2026-03-15 12:32:07.898969816 +0100 +diff -ur lerc-4.2.0.orig/OtherLanguages/Python/lerc/_lerc.py lerc-4.2.0/OtherLanguages/Python/lerc/_lerc.py +--- lerc-4.2.0.orig/OtherLanguages/Python/lerc/_lerc.py 2026-10-18 07:55:36.577569209 +0200 ++++ lerc-4.2.0/OtherLanguages/Python/lerc/_lerc.py 2026-10-18 07:55:36.641576379 +0200 @@ -115,24 +115,10 @@ import numpy as np import ctypes as ct @@ -28,9 +28,9 @@ return lib -diff -ur lerc-4.1.0.orig/OtherLanguages/Python/setup.py lerc-4.1.0/OtherLanguages/Python/setup.py ---- lerc-4.1.0.orig/OtherLanguages/Python/setup.py 2026-03-15 12:29:27.161382479 +0100 -+++ lerc-4.1.0/OtherLanguages/Python/setup.py 2026-03-15 12:31:09.640600081 +0100 +diff -ur lerc-4.2.0.orig/OtherLanguages/Python/setup.py lerc-4.2.0/OtherLanguages/Python/setup.py +--- lerc-4.2.0.orig/OtherLanguages/Python/setup.py 2026-10-18 07:55:36.577569209 +0200 ++++ lerc-4.2.0/OtherLanguages/Python/setup.py 2026-10-18 07:56:06.064872363 +0200 @@ -1,23 +1,5 @@ import setuptools -from glob import glob @@ -60,8 +60,7 @@ except Exception: long_description = "Limited Error Raster Compression" --# Using MANIFEST.in doesn't respect relative paths above the package root. --# Instead, inspect the location and copy in the binaries if newer. +-# Stage binaries from repo root into package root -BINARY_TYPES = ["*.dll", "*.lib", "*.so*", "*.dylib"] -PLATFORMS = ["Linux", "MacOS", "windows"] -for platform in PLATFORMS: @@ -72,10 +71,11 @@ - output_binary = join("lerc", basename(input_binary)) - if not exists(output_binary) or getmtime(input_binary) > getmtime(output_binary): - copyfile(input_binary, output_binary) - +- setuptools.setup( name="pylerc", -@@ -51,14 +21,11 @@ + version="4.2.0", +@@ -50,7 +20,6 @@ url="https://github.com/Esri/lerc", packages=setuptools.find_packages(), install_requires=["numpy >=2.3.0,<3"], @@ -83,7 +83,8 @@ classifiers=[ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", +@@ -58,7 +27,5 @@ + "Programming Language :: Python :: 3.14", "License :: OSI Approved :: Apache Software License", ], - package_data={"lerc": BINARY_TYPES},
