Remove support for bdist_rpm

This commit is contained in:
Randall Leeds 2019-11-23 15:36:56 -08:00 committed by Benoit Chesneau
parent ceca7c849c
commit 20774b8331
3 changed files with 5 additions and 22 deletions

View File

@ -2,6 +2,11 @@
Changelog
=========
Unreleased
==========
- remove support for the `bdist_rpm` build
20.0.2 / 2019/11/23
===================

View File

@ -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

View File

@ -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/