public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/zfp] rawhide: Rebuild for Python 3.15
@ 2026-06-07 22:36 Orion Poplawski
  0 siblings, 0 replies; only message in thread
From: Orion Poplawski @ 2026-06-07 22:36 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/zfp
            Branch : rawhide
            Commit : e96d793b3b195228930ad80081b8eb7413d43b33
            Author : Orion Poplawski <orion@nwra.com>
            Date   : 2026-06-07T15:16:18-06:00
            Stats  : +7/-8 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/zfp/c/e96d793b3b195228930ad80081b8eb7413d43b33?branch=rawhide

            Log:
            Rebuild for Python 3.15

Update URL
Change cmake3 -> cmake
Update license to BSD-3-Clause
Add explicit requires on main package to python3-zfpy

---
diff --git a/zfp.spec b/zfp.spec
index e82930f..8d60460 100644
--- a/zfp.spec
+++ b/zfp.spec
@@ -1,19 +1,17 @@
 %undefine __cmake_in_source_build
-%undefine __cmake3_in_source_build
 
 Name:           zfp
 Version:        1.0.1
 Release:        %autorelease
 Summary:        Library for compressed numerical arrays with high throughput R/W random access
 
-# Automatically converted from old format: BSD - review is highly recommended.
-License:        LicenseRef-Callaway-BSD
-URL:            https://computation.llnl.gov/projects/floating-point-compression
+License:        BSD-3-Clause
+URL:            https://computing.llnl.gov/projects/zfp
 Source0:        https://github.com/LLNL/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
 # Fix setup.py syntax and add pyproject.toml.
 Patch:          https://github.com/LLNL/%{name}/pull/237.patch
 
-BuildRequires:  cmake3
+BuildRequires:  cmake
 BuildRequires:  gcc-c++
 
 %description
@@ -58,6 +56,7 @@ developing applications that use %{name}.
 Summary:        zfp compression in Python
 
 BuildRequires:  python3-devel
+Requires:       %{name}%{?_isa} = %{version}-%{release}
 
 %description -n python3-zfpy
 The python3-zfpy package contains a Python library for using %{name}.
@@ -72,15 +71,15 @@ The python3-zfpy package contains a Python library for using %{name}.
 
 
 %build
-%cmake3 -DCMAKE_SKIP_INSTALL_RPATH=YES -DHAVE_LIBM_MATH=YES
-%cmake3_build
+%cmake -DCMAKE_SKIP_INSTALL_RPATH=YES -DHAVE_LIBM_MATH=YES
+%cmake_build
 
 export LDFLAGS="$LDFLAGS -L$PWD/%{_vpath_builddir}/%{_lib}/"
 %pyproject_wheel
 
 
 %install
-%cmake3_install
+%cmake_install
 
 %pyproject_install
 %pyproject_save_files -l zfpy

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

only message in thread, other threads:[~2026-06-07 22:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-07 22:36 [rpms/zfp] rawhide: Rebuild for Python 3.15 Orion Poplawski

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