Remove explict sed for doc build warnings
This is now obsolete, as the %py_req_cleanup macro does that as a side-effect. Change-Id: Ie8ae07e53f90ea5d183f89c82b27ad8ae76c0fd2
This commit is contained in:
parent
9dc46b2a88
commit
81330487a6
@ -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}
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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}
|
||||
|
@ -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
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user