|
rdobuilder |
39783e |
## START: Set by rpmautospec
|
|
rdobuilder |
39783e |
## (rpmautospec version 0.2.6)
|
|
rdobuilder |
39783e |
%define autorelease(e:s:pb:) %{?-p:0.}%{lua:
|
|
rdobuilder |
39783e |
release_number = 2;
|
|
rdobuilder |
39783e |
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
rdobuilder |
39783e |
print(release_number + base_release_number - 1);
|
|
rdobuilder |
39783e |
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist}
|
|
rdobuilder |
39783e |
## END: Set by rpmautospec
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
# When bootstrapping, we do not include the “grpc” extra in the BR’s. That adds
|
|
rdobuilder |
39783e |
# a BR on python3dist(grpcio), but this package is required by
|
|
rdobuilder |
39783e |
# python3dist(grpcio-status), which creates a circular dependency with grpc.
|
|
rdobuilder |
39783e |
%bcond_with bootstrap
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
# The python-xds-protos overlays additional proto wrappers on top of those
|
|
rdobuilder |
39783e |
# provided by this package. This can be rather brittle in terms of file
|
|
rdobuilder |
39783e |
# conflicts, so it has an exact-version dependency on this package.
|
|
rdobuilder |
39783e |
#
|
|
rdobuilder |
39783e |
# Therefore, when updating this package, please adjust the
|
|
rdobuilder |
39783e |
# googleapis_common_protos_version macro in the python-xds-protos spec file and
|
|
rdobuilder |
39783e |
# rebuild it with the new version of this package (ideally in a side tag as a
|
|
rdobuilder |
39783e |
# multi-build update). While python-xds-protos automatically adapts itself to
|
|
rdobuilder |
39783e |
# the files provided by python-googlapis-common-priotos to a large extent, it
|
|
rdobuilder |
39783e |
# may rarely be necessary to adjust the %files list for python3-xds-protos as
|
|
rdobuilder |
39783e |
# well.
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
%global srcname googleapis-common-protos
|
|
rdobuilder |
39783e |
%global forgeurl https://github.com/googleapis/python-api-common-protos/
|
|
rdobuilder |
39783e |
Version: 1.56.4
|
|
rdobuilder |
39783e |
%global tag v%{version}
|
|
rdobuilder |
39783e |
%forgemeta
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
Name: python-%{srcname}
|
|
rdobuilder |
39783e |
Release: %autorelease
|
|
rdobuilder |
39783e |
Summary: Common protobufs used in Google APIs
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
License: ASL 2.0
|
|
rdobuilder |
39783e |
URL: %forgeurl
|
|
rdobuilder |
39783e |
Source0: %{forgeurl}/archive/%{tag}.tar.gz#/python-api-common-protos-%{version}.tar.gz
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
BuildArch: noarch
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
BuildRequires: python3-devel
|
|
rdobuilder |
39783e |
BuildRequires: pyproject-rpm-macros
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
%global common_description %{expand:
|
|
rdobuilder |
39783e |
%{summary}.}
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
%description %{common_description}
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
%package -n python3-%{srcname}
|
|
rdobuilder |
39783e |
Summary: %{summary}
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
%description -n python3-%{srcname} %{common_description}
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
%pyproject_extras_subpkg -n python3-%{srcname} grpc
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
%prep
|
|
rdobuilder |
39783e |
%forgeautosetup
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
%generate_buildrequires
|
|
rdobuilder |
39783e |
%pyproject_buildrequires -r %{?!with_bootstrap:-x grpc}
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
%build
|
|
rdobuilder |
39783e |
%pyproject_wheel
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
%install
|
|
rdobuilder |
39783e |
%pyproject_install
|
|
rdobuilder |
39783e |
%pyproject_save_files google
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
%check
|
|
rdobuilder |
39783e |
# Upstream has no tests.
|
|
rdobuilder |
39783e |
#
|
|
rdobuilder |
39783e |
# Note that google and google.logging are namespace packages.
|
|
rdobuilder |
39783e |
%pyproject_check_import %{?with_bootstrap:-e 'google.longrunning.*grpc*'}
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
%files -n python3-%{srcname} -f %{pyproject_files}
|
|
rdobuilder |
39783e |
%doc CHANGELOG.md
|
|
rdobuilder |
39783e |
%doc CONTRIBUTING.md
|
|
rdobuilder |
39783e |
%doc CODE_OF_CONDUCT.md
|
|
rdobuilder |
39783e |
%doc README.rst
|
|
rdobuilder |
39783e |
%{python3_sitelib}/googleapis_common_protos-%{version}-py%{python3_version}-nspkg.pth
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
%changelog
|
|
rdobuilder |
39783e |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> 1.56.4-2
|
|
rdobuilder |
39783e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
* Tue Jul 12 2022 Major Hayden <major@redhat.com> 1.56.4-1
|
|
rdobuilder |
39783e |
- Update to 1.56.4 rhbz#2106455
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
* Tue Jun 21 2022 Benjamin A. Beasley <code@musicinmybrain.net> 1.56.3-1
|
|
rdobuilder |
39783e |
- Update to 1.56.3 (close RHBZ#2099834)
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
* Thu Jun 16 2022 Python Maint <python-maint@redhat.com> 1.56.2-3
|
|
rdobuilder |
39783e |
- Rebuilt for Python 3.11
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
* Wed Jun 15 2022 Python Maint <python-maint@redhat.com> 1.56.2-2
|
|
rdobuilder |
39783e |
- Bootstrap for Python 3.11
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
* Fri May 27 2022 Major Hayden <major@redhat.com> 1.56.2-1
|
|
rdobuilder |
39783e |
- Update to 1.56.2
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
* Fri May 13 2022 Benjamin A. Beasley <code@musicinmybrain.net> 1.56.1-2
|
|
rdobuilder |
39783e |
- Add spec file notes about updating python-xds-protos
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
* Fri May 13 2022 Major Hayden <major@mhtx.net> 1.56.1-1
|
|
rdobuilder |
39783e |
- Update to 1.56.1
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
* Fri Mar 18 2022 Benjamin A. Beasley <code@musicinmybrain.net> 1.56.0-1
|
|
rdobuilder |
39783e |
- Update to 1.56.0 (close RHBZ#2065457)
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
* Wed Feb 23 2022 Benjamin A. Beasley <code@musicinmybrain.net> 1.55.0-1
|
|
rdobuilder |
39783e |
- Update to 1.55.0 (close RHBZ#2057586)
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> 1.54.0-2
|
|
rdobuilder |
39783e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
* Wed Dec 08 2021 Benjamin A. Beasley <code@musicinmybrain.net> 1.54.0-1
|
|
rdobuilder |
39783e |
- Update to 1.54.0 (close RHBZ#2030075)
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
* Wed Nov 03 2021 Benjamin A. Beasley <code@musicinmybrain.net> 1.53.0-15
|
|
rdobuilder |
39783e |
- Express %%%%generate_buildrequires more concisely
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
* Wed Nov 03 2021 Benjamin A. Beasley <code@musicinmybrain.net> 1.53.0-14
|
|
rdobuilder |
39783e |
- Use the new %%%%pyproject_check_import macro
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
* Tue Sep 14 2021 Benjamin A. Beasley <code@musicinmybrain.net> 1.53.0-13
|
|
rdobuilder |
39783e |
- Let pyproject-rpm-macros handle the license file
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
* Tue Sep 14 2021 Benjamin A. Beasley <code@musicinmybrain.net> 1.53.0-12
|
|
rdobuilder |
39783e |
- Reduce macro indirection in the spec file
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
* Sun Sep 12 2021 Benjamin A. Beasley <code@musicinmybrain.net> 1.53.0-11
|
|
rdobuilder |
39783e |
- Drop BR on pyproject-rpm-macros, now implied by python3-devel
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
* Wed Jul 28 2021 Benjamin A. Beasley <code@musicinmybrain.net> 1.53.0-10
|
|
rdobuilder |
39783e |
- Move %%generate_buildrequires after %%prep to make the spec file easier
|
|
rdobuilder |
39783e |
to follow
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
* Thu Jul 08 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 1.53.0-4
|
|
rdobuilder |
39783e |
- Drop version conditional; maintain the existing practice of cherry-picking
|
|
rdobuilder |
39783e |
updates to stable branches rather than merging
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
* Thu Jul 08 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 1.53.0-3
|
|
rdobuilder |
39783e |
- Tweak how the description macro is written
|
|
rdobuilder |
39783e |
- Drop obsolete python_provide macro
|
|
rdobuilder |
39783e |
- Switch to pyproject-rpm-macros
|
|
rdobuilder |
39783e |
- Add the metapackage for the “grpc” extra
|
|
rdobuilder |
39783e |
- Add a check section that “smoke-tests” imports
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.53.0-2
|
|
rdobuilder |
39783e |
- Rebuilt for Python 3.10
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
* Sun Mar 21 2021 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.53.0-1
|
|
rdobuilder |
39783e |
- Update to 1.53.0
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.52.0-3
|
|
rdobuilder |
39783e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.52.0-2
|
|
rdobuilder |
39783e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
* Thu Jun 18 2020 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.52.0-1
|
|
rdobuilder |
39783e |
- Update to 1.52.0
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
* Sun May 31 2020 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.51.0-2
|
|
rdobuilder |
39783e |
- Rebuild for Python 3.9
|
|
rdobuilder |
39783e |
|
|
rdobuilder |
39783e |
* Fri May 29 2020 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.51.0-1
|
|
rdobuilder |
39783e |
- Initial RPM release
|
|
rdobuilder |
39783e |
|