diff --git a/docs/source/news.rst b/docs/source/news.rst index 801aa74b..7e72a4e5 100644 --- a/docs/source/news.rst +++ b/docs/source/news.rst @@ -2,6 +2,11 @@ Changelog ========= +Unreleased +========== + +- remove support for the `bdist_rpm` build + 20.0.2 / 2019/11/23 =================== diff --git a/rpm/install b/rpm/install deleted file mode 100644 index 4a8f9dc7..00000000 --- a/rpm/install +++ /dev/null @@ -1,16 +0,0 @@ -%{__python} setup.py install --skip-build --root=$RPM_BUILD_ROOT - -# Build the HTML documentation using the default theme. -%{__python} setup.py build_sphinx - -%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} -%endif - -INSTALLED_FILES="\ -%{python_sitelib}/* -%{_bindir}/* -%doc LICENSE NOTICE README.rst THANKS build/sphinx/html examples/example_config.py -" -echo "$INSTALLED_FILES" > INSTALLED_FILES diff --git a/setup.cfg b/setup.cfg index 20017519..64d0abc0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,9 +1,3 @@ -[bdist_rpm] -build-requires = python2-devel python-setuptools python-sphinx -requires = python-setuptools >= 0.6c6 python-ctypes -install_script = rpm/install -group = System Environment/Daemons - [tool:pytest] norecursedirs = examples lib local src testpaths = tests/