Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package blueprint-compiler for openSUSE:Factory checked in at 2025-03-17 22:16:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/blueprint-compiler (Old) and /work/SRC/openSUSE:Factory/.blueprint-compiler.new.19136 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "blueprint-compiler" Mon Mar 17 22:16:34 2025 rev:8 rq:1253357 version:0.16.0 Changes: -------- --- /work/SRC/openSUSE:Factory/blueprint-compiler/blueprint-compiler.changes 2025-02-04 18:15:04.885846273 +0100 +++ /work/SRC/openSUSE:Factory/.blueprint-compiler.new.19136/blueprint-compiler.changes 2025-03-17 22:20:39.746171702 +0100 @@ -1,0 +2,5 @@ +Sat Mar 8 13:00:26 UTC 2025 - ecsos <ec...@opensuse.org> + +- Fix build error for Leap < 16. + +------------------------------------------------------------------- @@ -49,0 +55,6 @@ + +------------------------------------------------------------------- +Sun Oct 27 21:01:29 UTC 2024 - ecsos <ec...@opensuse.org> + +- Add missing requirements. +- Put spec in a position to build for Leap too. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ blueprint-compiler.spec ++++++ --- /var/tmp/diff_new_pack.zqp0HA/_old 2025-03-17 22:20:41.250234527 +0100 +++ /var/tmp/diff_new_pack.zqp0HA/_new 2025-03-17 22:20:41.266235195 +0100 @@ -16,6 +16,12 @@ # +%if 0%{?suse_version} < 1600 +%global pythons python311 +%else +%global pythons python3 +%endif + Name: blueprint-compiler Version: 0.16.0 Release: 0 @@ -23,13 +29,15 @@ License: LGPL-3.0-or-later URL: https://gitlab.gnome.org/jwestman/blueprint-compiler Source: %{url}/-/archive/v%{version}/%{name}-v%{version}.tar.gz#/%{name}-%{version}.tar.gz +BuildRequires: %{python_module Sphinx} +BuildRequires: %{python_module base >= 3.10} +BuildRequires: %{python_module gobject} BuildRequires: meson -BuildRequires: python3-Sphinx -BuildRequires: python3-gobject +BuildRequires: python-rpm-macros BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(gtk4) BuildRequires: pkgconfig(libadwaita-1) -Requires: python3-gobject +Requires: %{python_flavor}-gobject BuildArch: noarch %description @@ -44,6 +52,14 @@ %prep %autosetup -n %{name}-v%{version} +%if 0%{?suse_version} < 1600 +sed -i -e 's|python3|python3.11|g' meson.build +sed -i -e 's|=3.9|=3.11|g' justfile +sed -i -e 's|python3|python3.11)|g' justfile +sed -i -e 's|python3|python3.11)|g' tests/fuzz.sh +sed -i -e 's|/usr/bin/env python3|/usr/bin/python3.11|g' blueprint-compiler.py +sed -i -e 's|/usr/bin/env python3|/usr/bin/python3.11|g' docs/collect-sections.py +%endif %build %meson \