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:
parent
aad46dabe1
commit
09c8d591e6
@ -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>
|
||||
|
||||
|
@ -24,11 +24,11 @@ Summary: Common helper functions useful in network automation
|
||||
License: Apache-2.0
|
||||
URL: https://netutils.readthedocs.io
|
||||
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 poetry}
|
||||
BuildRequires: %{python_module jinja2}
|
||||
BuildRequires: %{python_module toml}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module toml}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
@ -45,7 +45,9 @@ A Python library that is a collection of objects for common network automation t
|
||||
|
||||
%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
|
||||
# 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}
|
||||
%license LICENSE
|
||||
%doc README.md CHANGELOG.md
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/netutils
|
||||
%{python_sitelib}/netutils-%{version}*-info
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user