Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package capstone for openSUSE:Factory checked in at 2026-06-27 18:02:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/capstone (Old) and /work/SRC/openSUSE:Factory/.capstone.new.11887 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "capstone" Sat Jun 27 18:02:35 2026 rev:7 rq:1361813 version:5.0.6 Changes: -------- --- /work/SRC/openSUSE:Factory/capstone/capstone.changes 2025-05-13 20:12:28.336471484 +0200 +++ /work/SRC/openSUSE:Factory/.capstone.new.11887/capstone.changes 2026-06-27 18:02:42.165137671 +0200 @@ -1,0 +2,7 @@ +Thu Jun 25 12:58:06 UTC 2026 - Matej Cepl <[email protected]> + +- Modernize packaging to use wheel as an intermediate project + (`%python_build` is not supported anymore). Make building + working with the rewritten python interpretors changes. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ capstone.spec ++++++ --- /var/tmp/diff_new_pack.Y5veZm/_old 2026-06-27 18:02:43.185172128 +0200 +++ /var/tmp/diff_new_pack.Y5veZm/_new 2026-06-27 18:02:43.185172128 +0200 @@ -1,7 +1,7 @@ # # spec file for package capstone # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,6 @@ %global _lto_cflags %{?_lto_cflags} -ffat-lto-objects - %define sover 5 Name: capstone Version: 5.0.6 @@ -33,7 +32,9 @@ BuildRequires: ninja BuildRequires: pkgconfig BuildRequires: python-rpm-macros +BuildRequires: python3-pip BuildRequires: python3-setuptools +BuildRequires: python3-wheel BuildRequires: pkgconfig(python3) %description @@ -96,7 +97,7 @@ cd .. # back to the main source directory pushd bindings/python/ || exit 1 -%python3_build +%python3_pyproject_wheel popd || exit 1 %install @@ -108,7 +109,7 @@ # Available bindings: Java, OCaml, Python2 and Python3 (pure/C) # Python3 bindings only for now pushd bindings/python/ -%python3_install +%python3_pyproject_install rm -rf %{buildroot}%{python3_sitelib}/%{name}/include rm -rf %{buildroot}%{python3_sitelib}/%{name}/lib popd @@ -139,7 +140,7 @@ %files -n python3-capstone %{python3_sitelib}/%{name}/ -%{python3_sitelib}/%{name}*.egg-info +%{python3_sitelib}/%{name}-%{version}*-info %files doc %license LICENSE*.TXT
