Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-glad2 for openSUSE:Factory 
checked in at 2025-04-22 17:25:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-glad2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-glad2.new.30101 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-glad2"

Tue Apr 22 17:25:30 2025 rev:5 rq:1271048 version:2.0.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-glad2/python-glad2.changes        
2024-06-21 16:02:36.856764421 +0200
+++ /work/SRC/openSUSE:Factory/.python-glad2.new.30101/python-glad2.changes     
2025-04-22 17:25:32.756189174 +0200
@@ -1,0 +2,28 @@
+Fri Apr 18 07:35:58 UTC 2025 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Restore mistakenly removed %python_subpackages macro that
+  prevented package renaming as python3-glad2.
+
+-------------------------------------------------------------------
+Wed Apr 16 15:24:31 UTC 2025 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Update to version 2.0.8:
+  * files: updates to latest specifications.
+  * rust: replace static mut references with addr_of.
+  * Replace setup.py with pyproject.toml [gh#Dav1dde/glad##490].
+- Rework package:
+  * Drop support for multiple python versions and build only for
+    default python3; this is a command line app, not a python
+    library.
+  * Switch to pyproject_* macros for build.
+  * Keep zero-sized template code which is used and filled in when
+    producing generated code.
+  * Add Provides: glad to package.
+  * Drop python-Jinja2 from BuildRequires; run-time but not build
+    dependency.
+  * Drop python-setuptools from Requires.
+  * Delete unnecessary hashbang from a non-executable file.
+  * Drop update-alternatives post scripts and related requires.
+  * Add Obsoletes against current pythons packages.
+
+-------------------------------------------------------------------

Old:
----
  glad2-2.0.6.tar.gz

New:
----
  glad2-2.0.8.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-glad2.spec ++++++
--- /var/tmp/diff_new_pack.6ju3Eq/_old  2025-04-22 17:25:33.388215697 +0200
+++ /var/tmp/diff_new_pack.6ju3Eq/_new  2025-04-22 17:25:33.388215697 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-glad2
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,52 +16,48 @@
 #
 
 
-%{?sle15_python_module_pythons}
+%define pythons python3
 Name:           python-glad2
-Version:        2.0.6
+Version:        2.0.8
 Release:        0
-Summary:        Multi-Language GL/GLES/EGL/GLX/WGL Loader-Generator
+Summary:        Command line utility to load/generate multi-language 
GL/GLES/EGL/GLX/WGL code
 License:        MIT
 URL:            https://github.com/Dav1dde/glad
-Source:         
https://files.pythonhosted.org/packages/source/g/glad2/glad2-%{version}.tar.gz
+Source0:        
https://files.pythonhosted.org/packages/source/g/glad2/glad2-%{version}.tar.gz
 Source1:        python-glad2-rpmlintrc
-BuildRequires:  %{python_module setuptools}
-BuildRequires:  python-rpm-macros
-# SECTION test requirements
-BuildRequires:  %{python_module Jinja2}
-# /SECTION
 BuildRequires:  fdupes
-Requires:       python-Jinja2
-Requires:       python-setuptools
+BuildRequires:  python-rpm-macros
+BuildRequires:  python3-pip
+BuildRequires:  python3-setuptools > 61.0
+BuildRequires:  python3-wheel
+Requires:       python3-Jinja2
+Provides:       glad
+Obsoletes:      python311-glad2 < %{version}
+Obsoletes:      python312-glad2 < %{version}
+Obsoletes:      python313-glad2 < %{version}
 BuildArch:      noarch
-Requires(post): %{_sbindir}/update-alternatives
-Requires(postun): %{_sbindir}/update-alternatives
 %python_subpackages
 
 %description
-Multi-Language GL/GLES/EGL/GLX/WGL Loader-Generator based on the official 
specifications.
+Glad is a command line utility to generate GL/GLES/EGL/GLX/WGL loader code
+based on the official specifications for using as bundled source code with
+apps.
 
 %prep
-%setup -q -n glad2-%{version}
+%autosetup -n glad2-%{version}
+sed -Ei "1{\@%{_bindir}/env python@d}" glad/__main__.py
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-find %(buildroot) -name 'glsc2.*' -delete # empty files
-%python_install
-%python_clone -a %{buildroot}%{_bindir}/glad
-%python_expand %fdupes %{buildroot}%{$python_sitelib}
-
-%post
-%python_install_alternative glad
-
-%postun
-%python_uninstall_alternative glad
+%pyproject_install
+%fdupes %{buildroot}%{python3_sitelib}
 
 %files %{python_files}
 %doc README.md
 %license LICENSE
-%python_alternative %{_bindir}/glad
-%{python_sitelib}/*
+%{_bindir}/glad
+%{python3_sitelib}/glad/
+%{python3_sitelib}/glad2-%{version}*.*-info
 

++++++ glad2-2.0.6.tar.gz -> glad2-2.0.8.tar.gz ++++++
++++ 5725 lines of diff (skipped)

Reply via email to