Files
packages/anda/langs/python/protobuf/python3-protobuf.spec
T
Gilver cf51f0d748 feat: The Python ifcondening (#5050) (#5091)
* chore(sphinxcontrib-moderncmakedomain): The ifcondening



* chore(colorz): The ifcondening



* chore(protobuf): The ifcondening



* fix: That's siteARCH



* cleanup: /



* chore(lomiri-ui-toolkit): The ifcondening



* chore(pillow-heif): The ifcondening



* chore(haishoku): The ifcondening



* chore(fast-colorthief): The ifcondening



* chore(ignis): The ifcondening



* chore(modern-colorthief): The Ifcondening



* chore(shibuya): The ifcondening



* Revert "chore(modern-colorthief): The Ifcondening"

This reverts commit dc82282bb7.

* refactor: Change the ifcondening approach

* cleanup: / again

* Revert "chore(sphinxcontrib-moderncmakedomain): The ifcondening"

This reverts commit 45f5cd8e36.

* Revert "chore(ignis): The ifcondening"

This reverts commit 88c4d68297.

* bulk: She if on my condition

* Updates with new packages

* I forgot the stupit 0 thing

* Fixes based on builds per branch

---------


(cherry picked from commit f8eb58ff9c)

Signed-off-by: Gilver <rockgrub@disroot.org>
Signed-off-by: RockGrub <RockGrub@users.noreply.github.com>
2025-05-28 13:28:24 +08:00

62 lines
1.4 KiB
RPMSpec

# Created by pyp2rpm-3.3.8
%global pypi_name protobuf
Name: python-%{pypi_name}
Version: 6.31.0
Release: 1%?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
%if 0%{?fedora} <= 41 || 0%{?rhel}
%py3_build
%else
%pyproject_wheel
%endif
%install
%if 0%{?fedora} <= 41 || 0%{?rhel}
%py3_install
%else
%pyproject_install
%endif
%files -n python3-%{pypi_name}
%doc README.md
%{python3_sitearch}/google/
%if 0%{?fedora} <= 41 || 0%{?rhel}
%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
%else
%{python3_sitearch}/%{pypi_name}-%{version}.dist-info/
%endif
%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.