forked from pool/python-netutils
- Tighten %%files.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netutils?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 21 07:31:12 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Tighten %%files.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 19 11:28:23 UTC 2022 - Markéta Machová <mmachova@suse.com>
|
Tue Jul 19 11:28:23 UTC 2022 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
@@ -24,11 +24,11 @@ Summary: Common helper functions useful in network automation
|
|||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://netutils.readthedocs.io
|
URL: https://netutils.readthedocs.io
|
||||||
Source: https://github.com/networktocode/netutils/archive/refs/tags/v%{version}.tar.gz#/netutils-%{version}.tar.gz
|
Source: https://github.com/networktocode/netutils/archive/refs/tags/v%{version}.tar.gz#/netutils-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module jinja2}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module poetry}
|
BuildRequires: %{python_module poetry}
|
||||||
BuildRequires: %{python_module jinja2}
|
|
||||||
BuildRequires: %{python_module toml}
|
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module toml}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -45,7 +45,9 @@ A Python library that is a collection of objects for common network automation t
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%{python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
rm -f %{buildroot}%{$python_sitelib}/{CHANGELOG.md,LICENSE,README.md}
|
||||||
|
}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# test_is_fqdn_resolvable, test_fqdn_to_ip, test_tcp_ping: needs internet connection
|
# test_is_fqdn_resolvable, test_fqdn_to_ip, test_tcp_ping: needs internet connection
|
||||||
@@ -55,6 +57,7 @@ A Python library that is a collection of objects for common network automation t
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.md CHANGELOG.md
|
%doc README.md CHANGELOG.md
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/netutils
|
||||||
|
%{python_sitelib}/netutils-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user