forked from pool/python-whitenoise
Accepting request 1307085 from devel:languages:python
- Fix build for Leap 15.7 OBS-URL: https://build.opensuse.org/request/show/1307085 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-whitenoise?expand=0&rev=15
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 25 11:15:10 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Fix build for Leap 15.7
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 19 11:36:52 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-whitenoise
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -42,7 +42,11 @@ BuildArch: noarch
|
||||
Static file serving for WSGI applications.
|
||||
|
||||
%prep
|
||||
%setup -q -n whitenoise-%{version}
|
||||
%autosetup -p1 -n whitenoise-%{version}
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1600
|
||||
sed -i '/license-files/d' pyproject.toml
|
||||
sed -i 's/license = "MIT"/license = { text = "MIT" }/' pyproject.toml
|
||||
%endif
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
Reference in New Issue
Block a user