import pybind11-2.13.6-1.el10

i10ce changed/i10ce/pybind11-2.13.3-1.el10
Arkady L. Shane 1 month ago
parent 659145377a
commit d271c06e3f
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

2
.gitignore vendored

@ -1 +1 @@
SOURCES/pybind11-2.13.1.tar.gz
SOURCES/pybind11-2.13.6.tar.gz

@ -1 +1 @@
a7708e7b6538f31cb69223815f0304129a0e93ec SOURCES/pybind11-2.13.1.tar.gz
8c7e3e8fec829ced31a495dec281153511f33c63 SOURCES/pybind11-2.13.6.tar.gz

@ -1,22 +0,0 @@
From 51c2aa16de5b50fe4be6a0016d6090d4a831899e Mon Sep 17 00:00:00 2001
From: wenqing <wenqing.wang@ufz.de>
Date: Fri, 28 Jun 2024 16:12:32 +0200
Subject: [PATCH] Fixed a compilation error with gcc 14 (#5208)
---
include/pybind11/typing.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/pybind11/typing.h b/include/pybind11/typing.h
index c8ba18d499..b0feb9464a 100644
--- a/include/pybind11/typing.h
+++ b/include/pybind11/typing.h
@@ -14,6 +14,8 @@
#include "cast.h"
#include "pytypes.h"
+#include <algorithm>
+
PYBIND11_NAMESPACE_BEGIN(PYBIND11_NAMESPACE)
PYBIND11_NAMESPACE_BEGIN(typing)

@ -16,8 +16,8 @@
%global python3_enabled 1
Name: pybind11
Version: 2.13.1
Release: 3%{?dist}
Version: 2.13.6
Release: 1%{?dist}
Summary: Seamless operability between C++11 and Python
License: BSD-3-Clause
URL: https://github.com/pybind/pybind11
@ -26,8 +26,6 @@ Source0: https://github.com/pybind/pybind11/archive/v%{version}/%{name}-%{versio
# Patch out header path
Patch1: pybind11-2.10.1-hpath.patch
# https://github.com/pybind/pybind11/commit/51c2aa16de5b50fe4be6a0016d6090d4a831899e
Patch2: 0001-fixed-a-compilation-error-with-gcc-14.patch
BuildRequires: make
%if %{python2_enabled}
@ -111,7 +109,6 @@ This package contains the Python 3 files.
%prep
%setup -q
%patch 1 -p1 -b .hpath
%patch 2 -p1 -b .gcc-14
%build
pys=""
@ -185,9 +182,12 @@ PYBIND11_USE_CMAKE=true %py3_install "--install-purelib" "%{python3_sitearch}"
%endif
%changelog
* Thu Dec 26 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 2.13.1-3
* Thu Dec 26 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 2.13.6-1
- Rebuilt for MSVSphere 10
* Mon Nov 11 2024 Gwyn Ciesla <gwync@protonmail.com> - 2.13.6-1
- 2.13.6
* Sat Jul 20 2024 Kefu Chai <tchaikov@gmail.com> - 2.13.1-3
- Apply upstream patch to fix build with GCC-14

Loading…
Cancel
Save