forked from pool/python-HyperKitty
Accepting request 942881 from home:jayvdb:branches:devel:languages:python:django
- Add hyperkitty-django4.patch to support Django 4 OBS-URL: https://build.opensuse.org/request/show/942881 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=49
This commit is contained in:
@@ -59,6 +59,8 @@ Patch0: hyperkitty-settings.patch
|
||||
# PATCH-FIX-UPSTREAM hyperkitty-fix-mistune-2.0-imports.patch gl#mailman/hyperkitty#379 mcepl@suse.com
|
||||
# Two elements moved in mistune 2.0
|
||||
Patch1: hyperkitty-fix-mistune-2.0-imports.patch
|
||||
# PATCH-FIX-UPSTREAM hyperkitty-django4.patch gl#mailman/hyperkitty#384 jayvdb@gmail.com
|
||||
Patch2: hyperkitty-django4.patch
|
||||
#
|
||||
BuildRequires: %{python_module django-debug-toolbar >= 2.2}
|
||||
BuildRequires: %{python_module isort}
|
||||
@@ -151,10 +153,13 @@ This package holds the uwsgi configuration.
|
||||
cp %{SOURCE30} .
|
||||
touch settings_local.py
|
||||
|
||||
# Copy exmaple_project to just build the static files
|
||||
%patch2 -p1
|
||||
|
||||
# Copy example_project to just build the static files
|
||||
rsync -a example_project/* build_static_files
|
||||
|
||||
%autopatch -p1
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
sed -i 's|^#!/usr/bin/env.*|#!%{_bindir}/python3|' \
|
||||
|
||||
Reference in New Issue
Block a user