Update to 1.1.1 (#1711414)

This commit is contained in:
Miro Hrončok 2020-01-07 19:30:52 +01:00
parent bc84ee68d9
commit 9e7cc59dea
3 changed files with 12 additions and 9 deletions

1
.gitignore vendored
View File

@ -11,3 +11,4 @@ results_*
/Flask-0.12.2.tar.gz
/Flask-1.0.tar.gz
/Flask-1.0.2.tar.gz
/Flask-1.1.1.tar.gz

View File

@ -2,14 +2,14 @@
%global srcname Flask
Name: python-%{modname}
Version: 1.0.2
Release: 9%{?dist}
Version: 1.1.1
Release: 1%{?dist}
Epoch: 1
Summary: A micro-framework for Python based on Werkzeug, Jinja 2 and good intentions
License: BSD
URL: http://flask.pocoo.org/
Source0: https://files.pythonhosted.org/packages/source/%(n=%{srcname}; echo ${n:0:1})/%{srcname}/%{srcname}-%{version}.tar.gz
Source0: %{pypi_source}
BuildArch: noarch
@ -36,7 +36,7 @@ BuildRequires: python%{python3_pkgversion}-werkzeug
BuildRequires: python%{python3_pkgversion}-itsdangerous
BuildRequires: python%{python3_pkgversion}-click
Requires: python%{python3_pkgversion}-jinja2
Requires: python%{python3_pkgversion}-werkzeug
Requires: python%{python3_pkgversion}-werkzeug >= 0.15
Requires: python%{python3_pkgversion}-itsdangerous
Requires: python%{python3_pkgversion}-click
Obsoletes: python2-%{modname} < 1:1.0.2-9
@ -67,11 +67,10 @@ ln -s %{modname}-%{python3_version} %{buildroot}%{_bindir}/%{modname}-3
ln -sf %{modname}-3 %{buildroot}%{_bindir}/%{modname}
%check
export LC_ALL=C.UTF-8
PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v -k "not test_send_from_directory_bad_request"
PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-3 -v -k "not test_send_from_directory_bad_request"
%files -n python%{python3_pkgversion}-%{modname}
%license LICENSE
%license LICENSE.rst
%doc CHANGES.rst README.rst
%{_bindir}/%{modname}
%{_bindir}/%{modname}-3
@ -80,10 +79,13 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v -k "not
%{python3_sitelib}/%{modname}/
%files doc
%license LICENSE
%license LICENSE.rst
%doc examples
%changelog
* Tue Jan 07 2020 Miro Hrončok <mhroncok@redhat.com> - 1:1.1.1-1
- Update to 1.1.1 (#1711414)
* Wed Oct 30 2019 Miro Hrončok <mhroncok@redhat.com> - 1:1.0.2-9
- Obsolete proper version of python2-flask to fix an upgrade path issue (#1767198)

View File

@ -1 +1 @@
SHA512 (Flask-1.0.2.tar.gz) = 0ddf5d8bb0b0ae61f990096dffe3cf02744d7986015d05ae2cc09dfe0def17df44e2a4c58e330d17c7bd8c3eb74014dee5e2edef6e300b8e4ed756c251938f52
SHA512 (Flask-1.1.1.tar.gz) = d4e6304bdb2e20deda5b9800dc9ebeabf0442528d6cef2d15416129c151b25ab32c41460939f64fb72b15ead8d4e9bcea5694039323d080d279bfba2f6266178