3 |
|
|
4 |
Name: python-%{srcname} |
Name: python-%{srcname} |
5 |
Version: 0.9.4 |
Version: 0.9.4 |
6 |
|
%define subrel 1 |
7 |
Release: %mkrel 7 |
Release: %mkrel 7 |
8 |
Summary: The Swiss Army knife of Python web development |
Summary: The Swiss Army knife of Python web development |
9 |
|
|
11 |
License: BSD |
License: BSD |
12 |
URL: http://werkzeug.pocoo.org/ |
URL: http://werkzeug.pocoo.org/ |
13 |
Source0: https://pypi.python.org/packages/source/W/%{osrcname}/%{osrcname}-%{version}.tar.gz |
Source0: https://pypi.python.org/packages/source/W/%{osrcname}/%{osrcname}-%{version}.tar.gz |
14 |
|
Patch0: python-werkzeug-0.11.10-CVE-2016-10516.patch |
15 |
|
|
16 |
BuildArch: noarch |
BuildArch: noarch |
17 |
BuildRequires: python-devel |
BuildRequires: python-devel |
33 |
|
|
34 |
%prep |
%prep |
35 |
%setup -q -n %{osrcname}-%{version} |
%setup -q -n %{osrcname}-%{version} |
36 |
|
%patch0 -p1 |
37 |
%{__sed} -i 's/\r//' LICENSE |
%{__sed} -i 's/\r//' LICENSE |
38 |
%{__sed} -i '1d' werkzeug/testsuite/multipart/collect.py |
%{__sed} -i '1d' werkzeug/testsuite/multipart/collect.py |
39 |
cp -a . %{py3dir} |
cp -a . %{py3dir} |