diff --git a/python36-falcon3.spec b/python36-falcon3.spec index 88073d2..c5939f2 100644 --- a/python36-falcon3.spec +++ b/python36-falcon3.spec @@ -1,47 +1,48 @@ # # spec file for package python-falcon 3.0.1 on RHEL7 # Copyright (c) 2021 Ecole Polytechnique # Federale de Lausanne - Switzerland # %define python_sitelib /usr/lib64/python3.6/site-packages %define _unpackaged_files_terminate_build 0 Name: python-falcon Version: 3.0.1 Release: 0 Summary: An unladen web framework for building APIs and app backends. License: Apache-2.0 URL: https://falconframework.org Source: https://files.pythonhosted.org/packages/source/f/falcon/falcon-%{version}.tar.gz +Conflicts: python36-falcon-1.4.1-2.el7 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python36-devel %description `Falcon `__ is a reliable, high-performance Python web framework for building large-scale app backends and microservices. It encourages the REST architectural style, and tries to do as little as possible while remaining highly effective. Falcon apps work with any `WSGI `_ or `ASGI `_ server, and run like a champ under CPython 3.5+ and PyPy 3.5+ (3.6+ required for ASGI). %prep %setup -q -n falcon-%{version} %build python3 setup.py build %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{python_sitelib}/* /usr/bin/falcon-inspect-app /usr/bin/falcon-print-routes