diff --git a/README.en.md b/README.en.md index 73ea74398311be1c2030e215e05177c3aa16084c..6e6f997cadede22e1592effffe8b5f13d872777c 100644 --- a/README.en.md +++ b/README.en.md @@ -1,36 +1,3 @@ # python-neutron-lib -#### Description -Neutron shared routines and utilities - -#### Software Architecture -Software architecture description - -#### Installation - -1. xxxx -2. xxxx -3. xxxx - -#### Instructions - -1. xxxx -2. xxxx -3. xxxx - -#### Contribution - -1. Fork the repository -2. Create Feat_xxx branch -3. Commit your code -4. Create Pull Request - - -#### Gitee Feature - -1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md -2. Gitee blog [blog.gitee.com](https://blog.gitee.com) -3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) -4. The most valuable open source project [GVP](https://gitee.com/gvp) -5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) -6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) +OpenStack services are exclusively released in the openEuler LTS version. Please refer to other Multi-Version branches for the Spec source code. \ No newline at end of file diff --git a/README.md b/README.md index 790e0e7e5b1dc18733f58db76790d14fcc667f5d..997ca860a9ec297cc928e1caeb6604b3f9f66bd7 100644 --- a/README.md +++ b/README.md @@ -1,37 +1,3 @@ # python-neutron-lib -#### 介绍 -Neutron shared routines and utilities - -#### 软件架构 -软件架构说明 - - -#### 安装教程 - -1. xxxx -2. xxxx -3. xxxx - -#### 使用说明 - -1. xxxx -2. xxxx -3. xxxx - -#### 参与贡献 - -1. Fork 本仓库 -2. 新建 Feat_xxx 分支 -3. 提交代码 -4. 新建 Pull Request - - -#### 特技 - -1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md -2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) -3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 -4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 -5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) -6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) +openstack服务只在openEuler LTS版本发布,Spec源码请参考其他Multi-Version分支。 \ No newline at end of file diff --git a/Remove-the-validation-of-tenant-property.patch b/Remove-the-validation-of-tenant-property.patch deleted file mode 100644 index 14539e79c862c69d31a561841f0ead30c9cf034c..0000000000000000000000000000000000000000 --- a/Remove-the-validation-of-tenant-property.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/neutron_lib/tests/unit/test_context.py b/neutron_lib/tests/unit/test_context.py -index 8224191..b7555c5 100644 ---- a/neutron_lib/tests/unit/test_context.py -+++ b/neutron_lib/tests/unit/test_context.py -@@ -94,7 +94,6 @@ class TestNeutronContext(_base.BaseTestCase): - self.assertEqual('tenant_id', ctx_dict['project_id']) - self.assertEqual(ctx.request_id, ctx_dict['request_id']) - self.assertEqual('user_id', ctx_dict['user']) -- self.assertEqual('tenant_id', ctx_dict['tenant']) - self.assertIsNone(ctx_dict['user_name']) - self.assertIsNone(ctx_dict['tenant_name']) - self.assertIsNone(ctx_dict['project_name']) diff --git a/neutron-lib-2.20.0.tar.gz b/neutron-lib-2.20.0.tar.gz deleted file mode 100644 index 4511796eda7976dd3bf5e617d63ad76caa244ec2..0000000000000000000000000000000000000000 Binary files a/neutron-lib-2.20.0.tar.gz and /dev/null differ diff --git a/python-neutron-lib.spec b/python-neutron-lib.spec deleted file mode 100644 index ad44dc15fb3d110b492b102ba51cfeee5268d12a..0000000000000000000000000000000000000000 --- a/python-neutron-lib.spec +++ /dev/null @@ -1,152 +0,0 @@ -%global _empty_manifest_terminate_build 0 -%global with_doc 1 - -Name: python-neutron-lib -Version: 2.20.0 -Release: 1 -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 -Patch0: Remove-the-validation-of-tenant-property.patch -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 = %{version}-%{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 -* Tue Jul 12 2022 huangtianhua - 2.20.0-1 -- Upgrade to support Yoga - -* Fri Jul 30 2021 chenyanpanHW - 2.10.1-2 -- DESC: delete -S git from %autosetup, and delete BuildRequires git - -* Thu Jul 15 2021 huangtianhua - 2.10.1-1 -- Upgrade to 2.10.1 to support OpenStack-W - -* Thu Jan 13 2021 Python_Bot -- Package Spec generated diff --git a/python-neutron-lib.yaml b/python-neutron-lib.yaml deleted file mode 100644 index 7d837d2300f9ed9288fc0eefb0d8d0a13203b1d6..0000000000000000000000000000000000000000 --- a/python-neutron-lib.yaml +++ /dev/null @@ -1,4 +0,0 @@ -version_control: github -src_repo: openstack/neutron-lib -tag_prefix: ^ -seperator: .