diff --git a/openstack/os-testr/os-testr.spec.j2 b/openstack/os-testr/os-testr.spec.j2 index 2cdadfb37..2eb04a869 100644 --- a/openstack/os-testr/os-testr.spec.j2 +++ b/openstack/os-testr/os-testr.spec.j2 @@ -52,7 +52,6 @@ Documentation for the testr wrapper. %prep %autosetup -p1 -n {{ pypi_name }}-{{ upstream_version }} %py_req_cleanup -sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg %build %{python_build} diff --git a/openstack/os-vif/os-vif.spec.j2 b/openstack/os-vif/os-vif.spec.j2 index 022fc6ba6..3f97b7d8f 100644 --- a/openstack/os-vif/os-vif.spec.j2 +++ b/openstack/os-vif/os-vif.spec.j2 @@ -65,7 +65,6 @@ in OpenStack. %prep %autosetup -p1 -n os_vif-{{ upstream_version }} %py_req_cleanup -sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg %build %{py2_build} diff --git a/openstack/os-win/os-win.spec.j2 b/openstack/os-win/os-win.spec.j2 index 93f644762..33f455059 100644 --- a/openstack/os-win/os-win.spec.j2 +++ b/openstack/os-win/os-win.spec.j2 @@ -64,7 +64,6 @@ Documentation for the Hyper-V library. %py_req_cleanup # we dont want to run the hacking tests again (and dont want the needed deps) rm -f os_win/tests/unit/test_hacking.py -sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg %build %{python_build} diff --git a/openstack/oslo.cache/oslo.cache.spec.j2 b/openstack/oslo.cache/oslo.cache.spec.j2 index 1f8060ecf..1a8962cfb 100644 --- a/openstack/oslo.cache/oslo.cache.spec.j2 +++ b/openstack/oslo.cache/oslo.cache.spec.j2 @@ -53,7 +53,6 @@ Documentation for the OpenStack Oslo cache library. %prep %autosetup -p1 -n {{ pypi_name }}-{{ upstream_version }} %py_req_cleanup -sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg %build %{python_build} diff --git a/openstack/oslo.concurrency/oslo.concurrency.spec.j2 b/openstack/oslo.concurrency/oslo.concurrency.spec.j2 index bb3aad726..b869551d8 100644 --- a/openstack/oslo.concurrency/oslo.concurrency.spec.j2 +++ b/openstack/oslo.concurrency/oslo.concurrency.spec.j2 @@ -65,7 +65,6 @@ This package contains the documentation. %prep %autosetup -p1 -n {{ pypi_name }}-{{ upstream_version }} %py_req_cleanup -sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg %build %{python_build} diff --git a/openstack/oslo.config/oslo.config.spec.j2 b/openstack/oslo.config/oslo.config.spec.j2 index a8d366524..f995c9233 100644 --- a/openstack/oslo.config/oslo.config.spec.j2 +++ b/openstack/oslo.config/oslo.config.spec.j2 @@ -73,7 +73,6 @@ Documentation for the oslo-config library. %prep %autosetup -p1 -n {{ pypi_name }}-{{ upstream_version }} %py_req_cleanup -sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg %build %{python_build} diff --git a/openstack/oslo.context/oslo.context.spec.j2 b/openstack/oslo.context/oslo.context.spec.j2 index 009f40156..3855ca4a5 100644 --- a/openstack/oslo.context/oslo.context.spec.j2 +++ b/openstack/oslo.context/oslo.context.spec.j2 @@ -42,8 +42,6 @@ Documentation for the oslo-context library. %prep %autosetup -p1 -n {{ pypi_name }}-{{ upstream_version }} %py_req_cleanup -# without git, openstackdocstheme has warnings which let the doc build fail -sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg %build %{python_build} diff --git a/openstack/oslo.db/oslo.db.spec.j2 b/openstack/oslo.db/oslo.db.spec.j2 index 6dd09be05..afa7bd07e 100644 --- a/openstack/oslo.db/oslo.db.spec.j2 +++ b/openstack/oslo.db/oslo.db.spec.j2 @@ -70,7 +70,6 @@ Documentation for the Oslo database handling library. %prep %autosetup -p1 -n {{ pypi_name }}-{{ upstream_version }} %py_req_cleanup -sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg %build %{python_build} diff --git a/openstack/oslo.log/oslo.log.spec.j2 b/openstack/oslo.log/oslo.log.spec.j2 index 7833c4fb6..12c10640a 100644 --- a/openstack/oslo.log/oslo.log.spec.j2 +++ b/openstack/oslo.log/oslo.log.spec.j2 @@ -66,7 +66,6 @@ Documentation for the oslo.log library. %prep %autosetup -p1 -n {{ pypi_name }}-{{ upstream_version }} %py_req_cleanup -sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg %build %{python_build} diff --git a/openstack/oslo.messaging/oslo.messaging.spec.j2 b/openstack/oslo.messaging/oslo.messaging.spec.j2 index ed24ff40e..ca96802df 100644 --- a/openstack/oslo.messaging/oslo.messaging.spec.j2 +++ b/openstack/oslo.messaging/oslo.messaging.spec.j2 @@ -99,7 +99,6 @@ This package contains the documentation. %prep %autosetup -p1 -n {{ pypi_name }}-{{ upstream_version }} %py_req_cleanup -sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg # FIXME(jpena): since version 5.23.0, four tests in the amqp driver are # failing. Let's remove the tests for now, so we can build a package and # figure out whatis wrong. diff --git a/openstack/oslo.privsep/oslo.privsep.spec.j2 b/openstack/oslo.privsep/oslo.privsep.spec.j2 index 0a9747ff5..63d1e181e 100644 --- a/openstack/oslo.privsep/oslo.privsep.spec.j2 +++ b/openstack/oslo.privsep/oslo.privsep.spec.j2 @@ -66,7 +66,6 @@ Documentation for oslo.privsep %prep %autosetup -p1 -n {{ pypi_name }}-{{ upstream_version }} %py_req_cleanup -sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg %build %python_build diff --git a/openstack/oslo.service/oslo.service.spec.j2 b/openstack/oslo.service/oslo.service.spec.j2 index 6c50fd4b1..a0de1d22c 100644 --- a/openstack/oslo.service/oslo.service.spec.j2 +++ b/openstack/oslo.service/oslo.service.spec.j2 @@ -74,7 +74,6 @@ This package contains the documentation. %prep %autosetup -p1 -n {{ pypi_name }}-{{ upstream_version }} %py_req_cleanup -sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg %build %{python_build} diff --git a/openstack/oslo.utils/oslo.utils.spec.j2 b/openstack/oslo.utils/oslo.utils.spec.j2 index 73a20d86f..dc8e5db33 100644 --- a/openstack/oslo.utils/oslo.utils.spec.j2 +++ b/openstack/oslo.utils/oslo.utils.spec.j2 @@ -58,7 +58,6 @@ Documentation for OpenStack utils library. %prep %autosetup -p1 -n {{ pypi_name }}-{{ upstream_version }} -sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg %py_req_cleanup %build diff --git a/openstack/osprofiler/osprofiler.spec.j2 b/openstack/osprofiler/osprofiler.spec.j2 index e934fbe4c..452686f9a 100644 --- a/openstack/osprofiler/osprofiler.spec.j2 +++ b/openstack/osprofiler/osprofiler.spec.j2 @@ -66,7 +66,6 @@ Documentation for OSProfiler. %prep %autosetup -p1 -n {{ pypi_name }}-{{ upstream_version }} %py_req_cleanup -sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg %build %{python_build} diff --git a/openstack/ovsdbapp/ovsdbapp.spec.j2 b/openstack/ovsdbapp/ovsdbapp.spec.j2 index 36fe8dd99..a8e37a1a0 100644 --- a/openstack/ovsdbapp/ovsdbapp.spec.j2 +++ b/openstack/ovsdbapp/ovsdbapp.spec.j2 @@ -42,7 +42,6 @@ Documentation for the ovsdbap library. %prep %autosetup -p1 -n {{pypi_name }}-%{version} %py_req_cleanup -sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg %build %{py2_build} diff --git a/openstack/pyghmi/pyghmi.spec.j2 b/openstack/pyghmi/pyghmi.spec.j2 index 22de3576d..abe32aabc 100644 --- a/openstack/pyghmi/pyghmi.spec.j2 +++ b/openstack/pyghmi/pyghmi.spec.j2 @@ -49,7 +49,6 @@ this library into python code %prep %autosetup -p1 -n {{ pypi_name }}-%{version} %py_req_cleanup -sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg %build %{python_build}