1
0
forked from pool/python-Django

- Add patch to fix the 32bit build:

* 32bit.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=59
This commit is contained in:
Tomáš Chvátal
2020-04-30 05:16:55 +00:00
committed by Git OBS Bridge
parent 4a8fb12bb9
commit 942f47eb9d
3 changed files with 35 additions and 3 deletions

View File

@@ -35,6 +35,7 @@ Source99: python-Django-rpmlintrc
Patch0: i18n_test.patch
Patch1: test_clear_site_cache-sort.patch
Patch2: fix-selenium-test.patch
Patch3: 32bit.patch
BuildRequires: %{python_module Jinja2 >= 2.9.2}
BuildRequires: %{python_module Pillow}
BuildRequires: %{python_module PyYAML}
@@ -99,9 +100,7 @@ echo "`grep -e '^[0-9a-f]\{40\} Django-%{version}.tar.gz' %{SOURCE1} | cut -c1-
echo "`grep -e '^[0-9a-f]\{64\} Django-%{version}.tar.gz' %{SOURCE1} | cut -c1-64` %{SOURCE0}" | sha256sum -c
%setup -q -n Django-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1
%autopatch -p1
chmod a-x django/contrib/admin/static/admin/js/vendor/xregexp/xregexp.js
%build