mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Remove support for bdist_rpm
This commit is contained in:
parent
ceca7c849c
commit
20774b8331
@ -2,6 +2,11 @@
|
|||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
Unreleased
|
||||||
|
==========
|
||||||
|
|
||||||
|
- remove support for the `bdist_rpm` build
|
||||||
|
|
||||||
20.0.2 / 2019/11/23
|
20.0.2 / 2019/11/23
|
||||||
===================
|
===================
|
||||||
|
|
||||||
|
|||||||
16
rpm/install
16
rpm/install
@ -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
|
|
||||||
@ -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]
|
[tool:pytest]
|
||||||
norecursedirs = examples lib local src
|
norecursedirs = examples lib local src
|
||||||
testpaths = tests/
|
testpaths = tests/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user