代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-neutron-lib 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%global _empty_manifest_terminate_build 0
%global with_doc 1
Name: python-neutron-lib
Version: 2.10.1
Release: 2
Summary: OpenStack Neutron library
License: Apache-2.0
URL: http://launchpad.net/neutron/
Source0: https://tarballs.openstack.org/neutron-lib/neutron-lib-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-setuptools
BuildRequires: openstack-macros
%description
OpenStack Neutron library shared by all Neutron sub-projects.
%package -n python3-neutron-lib
Summary: OpenStack Neutron library
%{?python_provide:%python_provide python3-neutron-lib}
# Required for tests
BuildRequires: python3-keystoneauth1
BuildRequires: python3-oslotest
BuildRequires: python3-stestr
BuildRequires: python3-testtools
BuildRequires: python3-osprofiler
BuildRequires: python3-pecan
BuildRequires: python3-six
BuildRequires: python3-testscenarios
BuildRequires: python3-testresources
BuildRequires: python3-os-ken
BuildRequires: python3-os-traits
BuildRequires: python3-oslo-context
BuildRequires: python3-oslo-concurrency
BuildRequires: python3-oslo-db
BuildRequires: python3-oslo-i18n
BuildRequires: python3-oslo-log
BuildRequires: python3-oslo-utils
BuildRequires: python3-oslo-versionedobjects
BuildRequires: python3-oslo-policy
BuildRequires: python3-oslo-service
BuildRequires: python3-fixtures
BuildRequires: python3-netaddr
BuildRequires: python3-setproctitle
Requires: python3-pbr
Requires: python3-keystoneauth1 >= 3.4.0
Requires: python3-netaddr >= 0.7.18
Requires: python3-os-ken >= 0.3.0
Requires: python3-os-traits >= 0.9.0
Requires: python3-oslo-concurrency >= 3.26.0
Requires: python3-oslo-config
Requires: python3-oslo-context >= 2.19.2
Requires: python3-oslo-db >= 4.37.0
Requires: python3-oslo-i18n >= 3.15.3
Requires: python3-oslo-log >= 3.36.0
Requires: python3-oslo-messaging >= 5.29.0
Requires: python3-oslo-policy >= 1.30.0
Requires: python3-oslo-serialization >= 2.18.0
Requires: python3-oslo-service >= 1.24.0
Requires: python3-oslo-utils >= 3.33.0
Requires: python3-oslo-versionedobjects >= 1.31.2
Requires: python3-sqlalchemy >= 1.2.0
Requires: python3-stevedore
Requires: python3-osprofiler >= 1.4.0
Requires: python3-pecan >= 1.0.0
Requires: python3-webob >= 1.7.1
Requires: python3-setproctitle
%description -n python3-neutron-lib
OpenStack Neutron library shared by all Neutron sub-projects.
%package -n python3-neutron-lib-tests
Summary: OpenStack Neutron library tests
%{?python_provide:%python_provide python3-neutron-lib-tests}
Requires: python3-neutron-lib = %{verion}-%{release}
%description -n python3-neutron-lib-tests
OpenStack Neutron library shared by all Neutron sub-projects.
This package contains the Neutron library test files.
%if 0%{?with_doc}
%package doc
Summary: OpenStack Neutron library documentation
BuildRequires: python3-sphinx
BuildRequires: python3-openstackdocstheme
%description doc
OpenStack Neutron library shared by all Neutron sub-projects.
This package contains the documentation.
%endif
%prep
%autosetup -n neutron-lib-%{version} -p1
%py_req_cleanup
%build
%{py3_build}
%if 0%{?with_doc}
export PYTHONPATH=.
sphinx-build-3 -b html doc/source doc/build/html
rm -rf doc/build/html/.{doctrees,buildinfo}
%endif
%install
%{py3_install}
%check
rm -f ./neutron_lib/tests/unit/hacking/test_checks.py
export OS_TEST_PATH='./neutron_lib/tests/unit'
export PATH=$PATH:$RPM_BUILD_ROOT/usr/bin
export PYTHONPATH=$PWD
PYTHON=python3 stestr --test-path $OS_TEST_PATH run
%files -n python3-neutron-lib
%license LICENSE
%{python3_sitelib}/neutron_lib
%{python3_sitelib}/neutron_lib-*.egg-info
%exclude %{python3_sitelib}/neutron_lib/tests
%files -n python3-neutron-lib-tests
%license LICENSE
%{python3_sitelib}/neutron_lib/tests
%if 0%{?with_doc}
%files doc
%license LICENSE
%doc doc/build/html README.rst
%endif
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 2.10.1-2
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Thu Jul 15 2021 huangtianhua <huangtianhua@huawei.com> - 2.10.1-1
- Upgrade to 2.10.1 to support OpenStack-W
* Thu Jan 13 2021 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。