0.12.2
This commit is contained in:
parent
6f570afd60
commit
0bcf219211
@ -2,8 +2,8 @@
|
|||||||
%global srcname Flask
|
%global srcname Flask
|
||||||
|
|
||||||
Name: python-%{modname}
|
Name: python-%{modname}
|
||||||
Version: 0.11.1
|
Version: 0.12.2
|
||||||
Release: 8%{?dist}
|
Release: 1%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Summary: A micro-framework for Python based on Werkzeug, Jinja 2 and good intentions
|
Summary: A micro-framework for Python based on Werkzeug, Jinja 2 and good intentions
|
||||||
|
|
||||||
@ -31,41 +31,51 @@ Summary: %{summary}
|
|||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: python2-setuptools
|
BuildRequires: python2-setuptools
|
||||||
BuildRequires: python2-pytest
|
BuildRequires: python2-pytest
|
||||||
BuildRequires: python2-jinja2
|
%if 0%{?fedora} >= 26
|
||||||
BuildRequires: python2-werkzeug
|
BuildRequires: python2-werkzeug
|
||||||
BuildRequires: python2-itsdangerous
|
|
||||||
BuildRequires: python2-click
|
|
||||||
Requires: python2-jinja2
|
|
||||||
Requires: python2-werkzeug
|
Requires: python2-werkzeug
|
||||||
Requires: python2-itsdangerous
|
BuildRequires: python2-jinja2
|
||||||
|
Requires: python2-jinja2
|
||||||
|
BuildRequires: python2-click
|
||||||
Requires: python2-click
|
Requires: python2-click
|
||||||
|
BuildRequires: python2-itsdangerous
|
||||||
|
Requires: python2-itsdangerous
|
||||||
|
%else
|
||||||
|
BuildRequires: python-werkzeug
|
||||||
|
Requires: python-werkzeug
|
||||||
|
BuildRequires: python-jinja2
|
||||||
|
Requires: python-jinja2
|
||||||
|
BuildRequires: python-click
|
||||||
|
Requires: python-click
|
||||||
|
BuildRequires: python-itsdangerous
|
||||||
|
Requires: python-itsdangerous
|
||||||
|
%endif
|
||||||
%description -n python2-%{modname} %{_description}
|
%description -n python2-%{modname} %{_description}
|
||||||
|
|
||||||
Python 2 version.
|
Python 2 version.
|
||||||
|
|
||||||
%package -n python3-%{modname}
|
%package -n python%{python3_pkgversion}-%{modname}
|
||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
%{?python_provide:%python_provide python3-%{modname}}
|
%{?python_provide:%python_provide python%{python3_pkgversion}-%{modname}}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python%{python3_pkgversion}-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python%{python3_pkgversion}-pytest
|
||||||
BuildRequires: python3-jinja2
|
BuildRequires: python%{python3_pkgversion}-jinja2
|
||||||
BuildRequires: python3-werkzeug
|
BuildRequires: python%{python3_pkgversion}-werkzeug
|
||||||
BuildRequires: python3-itsdangerous
|
BuildRequires: python%{python3_pkgversion}-itsdangerous
|
||||||
BuildRequires: python3-click
|
BuildRequires: python%{python3_pkgversion}-click
|
||||||
Requires: python3-jinja2
|
Requires: python%{python3_pkgversion}-jinja2
|
||||||
Requires: python3-werkzeug
|
Requires: python%{python3_pkgversion}-werkzeug
|
||||||
Requires: python3-itsdangerous
|
Requires: python%{python3_pkgversion}-itsdangerous
|
||||||
Requires: python3-click
|
Requires: python%{python3_pkgversion}-click
|
||||||
|
|
||||||
%description -n python3-%{modname} %{_description}
|
%description -n python%{python3_pkgversion}-%{modname} %{_description}
|
||||||
|
|
||||||
Python 3 version.
|
Python 3 version.
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation for %{name}
|
Summary: Documentation for %{name}
|
||||||
Obsoletes: python3-%{modname}-doc < 1:0.11.1-3
|
Obsoletes: python%{python3_pkgversion}-%{modname}-doc < 1:0.11.1-3
|
||||||
BuildRequires: python2-sphinx
|
BuildRequires: python2-sphinx
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
@ -73,7 +83,8 @@ Documentation and examples for %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{srcname}-%{version}
|
%autosetup -n %{srcname}-%{version}
|
||||||
rm -vf examples/flaskr/.gitignore
|
rm -rf examples/flaskr/
|
||||||
|
rm -rf examples/minitwit/
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
%py2_build
|
||||||
@ -107,7 +118,7 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v || :
|
|||||||
|
|
||||||
%{_bindir}/%{modname}
|
%{_bindir}/%{modname}
|
||||||
|
|
||||||
%files -n python3-%{modname}
|
%files -n python%{python3_pkgversion}-%{modname}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc CHANGES README
|
%doc CHANGES README
|
||||||
%{_bindir}/%{modname}-3
|
%{_bindir}/%{modname}-3
|
||||||
@ -120,6 +131,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v || :
|
|||||||
%doc docs/_build/html examples
|
%doc docs/_build/html examples
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 15 2018 itamar <itamar@ispbrasil.com.br> - 1:0.12.2-1
|
||||||
|
- new version
|
||||||
|
|
||||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.11.1-8
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.11.1-8
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user