blob: 350531f6ce9bdd704c64f6154fc21a0f292ab3e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
Name: infoblox-client
Version: 0.6.0
Release: 1%{?dist}
Summary: Client for interacting with Infoblox NIOS over WAPI
License: Apache-2.0
URL: https://github.com/infobloxopen/infoblox-client
Source: %{pypi_source %name}
BuildArch: noarch
BuildRequires: python3-devel
%global _description %{expand:
Client for interacting with Infoblox NIOS over WAPI.}
%description %_description
%package -n python3-%{name}
Summary: %{summary}
%description -n python3-%{name} %_description
%prep
%autosetup -p1 -n %{name}-%{version}
%generate_buildrequires
%pyproject_buildrequires -t
%build
%pyproject_wheel
%install
%pyproject_install
# Here, "pello" is the name of the importable module.
%pyproject_save_files -l infoblox_client
%check
%tox
# Note that there is no %%files section for
# the unversioned python module, python-pello.
# For python3-pello, %%{pyproject_files} handles code files and %%license,
# but executables and documentation must be listed in the spec file:
%files -n python3-%{name} -f %{pyproject_files}
%doc README.rst
%changelog
%autochangelog
|