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: Ib3d19234f8e8abfb99bf4afd2140958eef9a0f87
This commit is contained in:
Dirk Mueller
2019-03-10 19:02:22 +01:00
parent 9dc46b2a88
commit f3d4c29d2f
17 changed files with 0 additions and 19 deletions

View File

@@ -65,7 +65,6 @@ Openstack Key Management API
%prep
%autosetup -p1 -n %{name}-%{version}
%py_req_cleanup
sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
# Remove the sphinx-build leftovers
rm -rf html/.{doctrees,buildinfo}

View File

@@ -67,7 +67,6 @@ This package contains auto-generated 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}

View File

@@ -71,7 +71,6 @@ This package contains the documentation.
%prep
%autosetup -n %{name}-%{version}
%py_req_cleanup
sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
%build
%{py2_build}

View File

@@ -45,7 +45,6 @@ Documentation for the OpenStack DNS as a Service - Client.
%prep
%autosetup -n %{sname}-%{version}
%py_req_cleanup
sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
%build
%py2_build

View File

@@ -62,7 +62,6 @@ This package contains the documentation.
%prep
%autosetup -p1 -n %{name}-%{version}
%py_req_cleanup
sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
%build
%{python_build}

View File

@@ -70,7 +70,6 @@ This package contains auto-generated 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

View File

@@ -79,7 +79,6 @@ This package contains auto-generated 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}

View File

@@ -60,7 +60,6 @@ This package contains auto-generated documentation.
%prep
%autosetup -n %{sname}-%{version}
%py_req_cleanup
sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
%build
%{py2_build}

View File

@@ -60,7 +60,6 @@ Identity API.
%py_req_cleanup
# disable intersphinx - no network access during build
echo "intersphinx_mapping = {}" >> doc/source/conf.py
sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
%build
%{python_build}

View File

@@ -76,7 +76,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}

View File

@@ -61,7 +61,6 @@ This package contains auto-generated 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}

View File

@@ -51,7 +51,6 @@ This package contains the documentation.
%prep
%autosetup -p1 -n %{name}-%{version}
%py_req_cleanup
sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
%build
%py2_build

View File

@@ -64,7 +64,6 @@ This package contains the documentation.
%prep
%autosetup -n %{name}-%{version}
%py_req_cleanup
sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
%build
%py2_build

View File

@@ -81,7 +81,6 @@ Neutron's API.
%prep
%autosetup -p1 -n %{name}-%{version}
%py_req_cleanup
sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
%build
%{python_build}

View File

@@ -72,7 +72,6 @@ This package contains auto-generated documentation.
%prep
%autosetup -p1 -n %{name}-%{version}
%py_req_cleanup
sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
%build
%{python_build}

View File

@@ -90,7 +90,6 @@ This package contains auto-generated 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}

View File

@@ -53,9 +53,6 @@ Python client library for interacting with OpenStack Sahara API.
%prep
%autosetup -p1 -n %{name}-%{version}
%py_req_cleanup
# FIXME: can be removed when https://review.openstack.org/#/c/363681/ is merged
sed -i -e 's/^\s\{4\}git_cmd\(.*\)/ "\/usr\/bin\/true"\1/' doc/source/conf.py
sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
%build
%py2_build