public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/laszip] f45: Update to git a446a0c
@ 2026-10-27  8:07 Sandro Mani
  0 siblings, 0 replies; only message in thread
From: Sandro Mani @ 2026-10-27  8:07 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/laszip
Branch : f45
Commit : 5d6c92af2a610d8e699c8a4f688a7a3fcc594b38
Author : Sandro Mani <manisandro@gmail.com>
Date   : 2026-10-27T09:06:43+01:00
Stats  : +20/-5 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/laszip/c/5d6c92af2a610d8e699c8a4f688a7a3fcc594b38?branch=f45

Log:
Update to git a446a0c

---
diff --git a/.gitignore b/.gitignore
index d3065dc..d5c65c5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /laszip-src-3.4.3.tar.gz
 /laszip-3.4.4.tar.gz
 /laszip-3.5.0.tar.gz
+/laszip-a446a0c.tar.gz

diff --git a/laszip.spec b/laszip.spec
index d3e2c94..1c66742 100644
--- a/laszip.spec
+++ b/laszip.spec
@@ -1,9 +1,16 @@
+%global commit a446a0c01362ed1c642928cff30416217f0468c3
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
 Name:           laszip
 Version:        3.5.0
-Release:        4%{?dist}
+Release:        6.gita446a0c%{?dist}
 Summary:        Quickly turns bulky LAS files into compact LAZ files
 License:        Apache-2.0
+%if 0%{?commit:1}
+Source0:        https://github.com/LASzip/LASzip/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
+%else
 Source0:        https://github.com/LASzip/LASzip/archive/%{version}/%{name}-%{version}.tar.gz
+%endif
 URL:            http://www.laszip.org/
 
 # Restore old API for libLAS
@@ -27,7 +34,11 @@ Development headers and libraries for laszip
 
 
 %prep
+%if 0%{?commit:1}
+%autosetup -p1 -n LASzip-%{commit}
+%else
 %autosetup -p1 -n LASzip-%{version}
+%endif
 
 
 %build
@@ -55,6 +66,9 @@ cp -a src/{mydefs.hpp,lasmessage.hpp} %{buildroot}%{_includedir}/laszip/
 
 
 %changelog
+* Tue Oct 27 2026 Sandro Mani <manisandro@gmail.com> - 3.5.0-6.gita446a0c
+- Update to git a446a0c, fixes CVE-2026-110603
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/laszip_restoreapi.patch b/laszip_restoreapi.patch
index 4c6d97d..7309ec4 100644
--- a/laszip_restoreapi.patch
+++ b/laszip_restoreapi.patch
@@ -1,6 +1,6 @@
 diff -rupN --no-dereference LASzip-3.5.0/src/CMakeLists.txt LASzip-3.5.0-new/src/CMakeLists.txt
 --- LASzip-3.5.0/src/CMakeLists.txt	2025-12-08 17:36:04.000000000 +0100
-+++ LASzip-3.5.0-new/src/CMakeLists.txt	2025-12-13 11:50:16.790078347 +0100
++++ LASzip-3.5.0-new/src/CMakeLists.txt	2026-10-27 07:18:59.608848826 +0100
 @@ -71,6 +71,8 @@ set(LASZIP_SOURCES
      laszip_decompress_selective_v3.hpp
      ../include/laszip/laszip_common.h
@@ -17,7 +17,7 @@ diff -rupN --no-dereference LASzip-3.5.0/src/CMakeLists.txt LASzip-3.5.0-new/src
 +LASZIP_ADD_INCLUDES("laszip" laszip.hpp laszipper.hpp lasunzipper.hpp)
 diff -rupN --no-dereference LASzip-3.5.0/src/lasunzipper.cpp LASzip-3.5.0-new/src/lasunzipper.cpp
 --- LASzip-3.5.0/src/lasunzipper.cpp	2025-12-08 17:36:04.000000000 +0100
-+++ LASzip-3.5.0-new/src/lasunzipper.cpp	2025-12-13 11:50:16.793309725 +0100
++++ LASzip-3.5.0-new/src/lasunzipper.cpp	2026-10-27 07:18:59.609148128 +0100
 @@ -47,7 +47,7 @@ bool LASunzipper::open(FILE* infile, con
    if (!reader) return return_error("alloc of LASreadPoint failed");
    if (!reader->setup(laszip->num_items, laszip->items, laszip)) return return_error("setup() of LASreadPoint failed");
@@ -38,7 +38,7 @@ diff -rupN --no-dereference LASzip-3.5.0/src/lasunzipper.cpp LASzip-3.5.0-new/sr
      stream = new ByteStreamInIstreamBE(instream);
 diff -rupN --no-dereference LASzip-3.5.0/src/laszipper.cpp LASzip-3.5.0-new/src/laszipper.cpp
 --- LASzip-3.5.0/src/laszipper.cpp	2025-12-08 17:36:04.000000000 +0100
-+++ LASzip-3.5.0-new/src/laszipper.cpp	2025-12-13 11:50:16.793549936 +0100
++++ LASzip-3.5.0-new/src/laszipper.cpp	2026-10-27 07:18:59.609351661 +0100
 @@ -47,7 +47,7 @@ bool LASzipper::open(FILE* outfile, cons
    if (!writer) return return_error("alloc of LASwritePoint failed");
    if (!writer->setup(laszip->num_items, laszip->items, laszip)) return return_error("setup() of LASwritePoint failed");

diff --git a/sources b/sources
index 4ba3baf..13d272d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (laszip-3.5.0.tar.gz) = 6cdc38249ace8191dae454817fe5f5a3cd22b24c7065daa0e4a3eaaca4d698540c56affa06e15de88aea2912a82033d1dc93f5d3904190a896edf1204af865f5
+SHA512 (laszip-a446a0c.tar.gz) = a90f356e96c6fb5b106c21ee4110ae8281fc3b0d1643cbb82396e914251e0c7084245674cb4e3890cc37bf6fe0fd5910ca2911ec75209c274b6db307713cc6ef

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-27  8:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-27  8:07 [rpms/laszip] f45: Update to git a446a0c Sandro Mani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox