Files
packages/anda/langs/python/protobuf/python3-protobuf.spec
T
Gilver db956352a5 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>
2025-05-14 20:45:37 +08:00

50 lines
1.1 KiB
RPMSpec

# Created by pyp2rpm-3.3.8
%global pypi_name protobuf
Name: python-%{pypi_name}
Version: 6.30.2
Release: 2%?dist
Summary: Protocol Buffers
License: BSD-3-Clause
URL: https://developers.google.com/protocol-buffers/
Source0: %{pypi_source}
BuildRequires: python3-devel gcc
BuildRequires: python3dist(pip)
BuildRequires: python3dist(setuptools)
%description
Protocol Buffers are Google's data interchange format
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
Protocol Buffers are Google's data interchange format
%prep
%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
%build
%pyproject_wheel
%install
%pyproject_install
%files -n python3-%{pypi_name}
%doc README.md
%{python3_sitearch}/google/
%{python3_sitearch}/protobuf-%{version}.dist-info/
%changelog
* Sun Feb 19 2023 windowsboy111 <wboy111@outlook.com> - 4.22.0-1
- Bump.
* Tue Jan 10 2023 windowsboy111 <wboy111@outlook.com> - 4.21.12-1
- Initial package.