Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-googleapis-common-protos?expand=0&rev=4
This commit is contained in:
parent
b4561c6439
commit
b4d8e17fea
@ -23,18 +23,17 @@ Release: 0
|
|||||||
Summary: Common protobufs used in Google APIs
|
Summary: Common protobufs used in Google APIs
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/googleapis/googleapis
|
URL: https://github.com/googleapis/googleapis
|
||||||
Source: https://files.pythonhosted.org/packages/source/g/googleapis-common-protos/googleapis-common-protos-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/g/googleapis-common-protos/googleapis-common-protos-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: python-rpm-macros
|
|
||||||
# SECTION test requirements
|
|
||||||
BuildRequires: %{python_module protobuf >= 3.0.0}
|
|
||||||
# /SECTION
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-protobuf >= 3.0.0
|
Requires: python-protobuf >= 3.0.0
|
||||||
Suggests: python-grpcio >= 1.0.0
|
Suggests: python-grpcio >= 1.0.0
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
# SECTION test requirements
|
||||||
|
BuildRequires: %{python_module protobuf >= 3.0.0}
|
||||||
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -52,7 +51,8 @@ protos in the googleapis_ repository.
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc LICENSE README.rst
|
%license LICENSE
|
||||||
|
%doc README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user