Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-iminuit for openSUSE:Factory checked in at 2023-06-21 22:39:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-iminuit (Old) and /work/SRC/openSUSE:Factory/.python-iminuit.new.15902 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-iminuit" Wed Jun 21 22:39:22 2023 rev:28 rq:1094232 version:2.21.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-iminuit/python-iminuit.changes 2023-05-30 22:02:31.507039541 +0200 +++ /work/SRC/openSUSE:Factory/.python-iminuit.new.15902/python-iminuit.changes 2023-06-21 22:40:27.450587230 +0200 @@ -1,0 +2,7 @@ +Tue Jun 20 14:15:27 UTC 2023 - Andreas Schwab <sch...@suse.de> + +- missing-headers.patch: add missing headers +- Use the default compiler +- Build with %{optflags} + +------------------------------------------------------------------- New: ---- missing-headers.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-iminuit.spec ++++++ --- /var/tmp/diff_new_pack.pxMQpc/_old 2023-06-21 22:40:28.574593995 +0200 +++ /var/tmp/diff_new_pack.pxMQpc/_new 2023-06-21 22:40:28.578594019 +0200 @@ -16,10 +16,6 @@ # -%if 0%{?suse_version} >= 1550 -%define gccver 12 -%endif - %define modname iminuit %{?sle15_python_module_pythons} Name: python-%{modname} @@ -29,6 +25,7 @@ License: MIT URL: https://github.com/scikit-hep/iminuit Source0: https://files.pythonhosted.org/packages/source/i/iminuit/%{modname}-%{version}.tar.gz +Patch0: missing-headers.patch BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel >= 3.7} BuildRequires: %{python_module numpy >= 1.21.0} @@ -38,7 +35,7 @@ BuildRequires: %{python_module setuptools} BuildRequires: cmake >= 3.13 BuildRequires: fdupes -BuildRequires: gcc%{?gccver}-c++ +BuildRequires: gcc-c++ BuildRequires: python-rpm-macros Requires: python-numpy >= 1.21.0 Recommends: python-matplotlib @@ -64,13 +61,13 @@ %prep %setup -q -n %{modname}-%{version} +%patch0 -p1 # We use external pybind11, just to be sure remove bundled pybind11 entirely rm -fr extern/pybind11 %build -export CXX=g++%{?gccver:-%gccver} -export CFLAGS="%{optflags}" -export CMAKE_ARGS="-DIMINUIT_EXTERNAL_PYBIND11=ON" +export CXXFLAGS="%{optflags}" +export CMAKE_ARGS="-DIMINUIT_EXTERNAL_PYBIND11=ON -DCMAKE_VERBOSE_MAKEFILE=ON" %python_build %install ++++++ missing-headers.patch ++++++ Index: iminuit-2.21.3/src/fcn.hpp =================================================================== --- iminuit-2.21.3.orig/src/fcn.hpp +++ iminuit-2.21.3/src/fcn.hpp @@ -1,6 +1,7 @@ #include <Minuit2/FCNGradientBase.h> #include <pybind11/pytypes.h> #include <vector> +#include <cstdint> namespace py = pybind11;