!11 [Lightweight PR]: Remove tests package
From: @xiyuanwang Reviewed-by: @huangtianhua Signed-off-by: @huangtianhua
This commit is contained in:
commit
82bbaa6e29
@ -3,7 +3,7 @@
|
||||
|
||||
Name: python-neutronclient
|
||||
Version: 7.3.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Python API and CLI for OpenStack Neutron
|
||||
|
||||
License: Apache-2.0
|
||||
@ -24,7 +24,6 @@ BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pbr
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-osc-lib
|
||||
BuildRequires: python3-osc-lib-tests
|
||||
BuildRequires: python3-oslotest
|
||||
BuildRequires: python3-testtools
|
||||
BuildRequires: python3-testrepository
|
||||
@ -56,21 +55,6 @@ Requires: python3-simplejson
|
||||
%description -n python3-neutronclient
|
||||
Client library and command line utility for interacting with OpenStack Neutron's API
|
||||
|
||||
%package -n python3-neutronclient-tests
|
||||
Summary: Python API and CLI for OpenStack Neutron - Unit tests
|
||||
%{?python_provide:%python_provide python3-neutronclient-tests}
|
||||
Requires: python3-neutronclient == %{version}-%{release}
|
||||
Requires: python3-osc-lib-tests
|
||||
Requires: python3-oslotest
|
||||
Requires: python3-testtools
|
||||
Requires: python3-testrepository
|
||||
Requires: python3-testscenarios
|
||||
|
||||
%description -n python3-neutronclient-tests
|
||||
Client library and command line utility for interacting with OpenStack Neutron's API
|
||||
|
||||
This package containts the unit tests.
|
||||
|
||||
%if 0%{?with_doc}
|
||||
%package doc
|
||||
Summary: Documentation for OpenStack Neutron API Client
|
||||
@ -111,10 +95,6 @@ ln -s neutron %{buildroot}%{_bindir}/neutron-3
|
||||
%{python3_sitelib}/*.egg-info
|
||||
%{_bindir}/neutron
|
||||
%{_bindir}/neutron-3
|
||||
%exclude %{python3_sitelib}/neutronclient/tests
|
||||
|
||||
%files -n python3-neutronclient-tests
|
||||
%{python3_sitelib}/neutronclient/tests
|
||||
|
||||
%if 0%{?with_doc}
|
||||
%files doc
|
||||
@ -123,6 +103,9 @@ ln -s neutron %{buildroot}%{_bindir}/neutron-3
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Aug 13 2021 wangxiyuan <wangxiyuan1007@gmail.com> - 7.3.0-2
|
||||
- Remove tests package
|
||||
|
||||
* Thu Jul 15 2021 huangtianhua <huangtianhua@huawei.com> - 7.3.0-1
|
||||
- Upgrade to 7.3.0 to support OpenStack-W
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user