chore: Update Python packages to the modern RPM Python build system (#4816) (#4827)

* chore(shibuya): Update to modern Python macros, prep stuff for docs?



* chore(lomiri-ui-toolkit): Update to modern Python macros



* chore(spinxcontrib-moderncmakedomain): Follow guidelines for "canonical" name



* Oops



* fix(lomiri-ui-toolkit) More modern Python changes

* Aaaa

* chore(pillow-heif): Update to modern Python build systems

* chore(protobuf): Update to modern Python build systems

* refactor(sphinx-moderncmakedomain): Run tests with Nox instead

* fix(shibuya): Oops



---------


(cherry picked from commit b02f48f9c7)

Signed-off-by: Gilver <rockgrub@disroot.org>
Signed-off-by: RockGrub <RockGrub@users.noreply.github.com>
This commit is contained in:
Gilver
2025-05-14 07:45:37 -05:00
committed by GitHub
parent 6eb7213d78
commit db956352a5
5 changed files with 45 additions and 26 deletions
@@ -2,7 +2,7 @@
%global pypi_name protobuf
Name: python-%{pypi_name}
Version: 6.30.1
Version: 6.30.2
Release: 2%?dist
Summary: Protocol Buffers
@@ -11,6 +11,7 @@ URL: https://developers.google.com/protocol-buffers/
Source0: %{pypi_source}
BuildRequires: python3-devel gcc
BuildRequires: python3dist(pip)
BuildRequires: python3dist(setuptools)
%description
@@ -30,15 +31,15 @@ Protocol Buffers are Google's data interchange format
rm -rf %{pypi_name}.egg-info
%build
%py3_build
%pyproject_wheel
%install
%py3_install
%pyproject_install
%files -n python3-%{pypi_name}
%doc README.md
%{python3_sitearch}/google
%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
%{python3_sitearch}/google/
%{python3_sitearch}/protobuf-%{version}.dist-info/
%changelog
* Sun Feb 19 2023 windowsboy111 <wboy111@outlook.com> - 4.22.0-1