| |
@@ -11,23 +11,6 @@
|
| |
|
| |
BuildArch: noarch
|
| |
|
| |
- Requires: python3-alembic
|
| |
- Requires: python3-flask
|
| |
- Requires: python3-flask-sqlalchemy
|
| |
- Requires: python3-flask-wtf
|
| |
- Requires: python3-flask-login
|
| |
- Requires: python3-flask-cors
|
| |
- Requires: python3-flask-cache
|
| |
- Requires: python3-alembic
|
| |
- Requires: python3-dateutil
|
| |
- Requires: python3-icalendar
|
| |
- Requires: python3-pytz
|
| |
- Requires: python3-bugzilla
|
| |
- Requires: python3-requests
|
| |
- Requires: python3-pygments
|
| |
- Requires: python3-lxml
|
| |
- Requires: python3-mod_wsgi
|
| |
-
|
| |
BuildRequires: python3-devel
|
| |
BuildRequires: python3-setuptools
|
| |
|
| |
@@ -36,12 +19,14 @@
|
| |
|
| |
%prep
|
| |
%setup -q
|
| |
+ # We want Flask-Caching from pip and Flask-Cache from Fedora, see rhbz#1676914
|
| |
+ sed -i 's/Flask-Caching/Flask-Cache/g' setup.py
|
| |
|
| |
%build
|
| |
%py3_build
|
| |
|
| |
%install
|
| |
- %py3_install --skip-build --root %{buildroot}
|
| |
+ %py3_install
|
| |
|
| |
# apache and wsgi settings
|
| |
mkdir -p %{buildroot}%{_datadir}/oraculum
|
| |
We should use Python dependency generator [0] for handling dependencies.
This is blocked on Flask-Caching named as python-flask-cache for now.
[0] https://fedoraproject.org/wiki/Packaging:Python#Automatically_generated_dependencies