diff --git a/python-flask-admin.spec b/python-flask-admin.spec index 1ce2c06..8b4b303 100644 --- a/python-flask-admin.spec +++ b/python-flask-admin.spec @@ -4,14 +4,14 @@ Name: python-%{pkgname} Version: 1.5.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: %{sum} License: BSD URL: https://github.com/flask-admin/flask-admin/ Source0: https://github.com/flask-admin/flask-admin/archive/v%{version}.tar.gz BuildArch: noarch -BuildRequires: python2-devel python2-setuptools python3-devel python3-setuptools +BuildRequires: python2-devel python2-setuptools python%{python3_pkgversion}-devel python%{python3_pkgversion}-setuptools %global _description\ Flask-Admin is advanced, extensible and simple to use administrative interface\ @@ -37,13 +37,13 @@ Requires: python2-wtforms %description -n python2-%{pkgname} %_description -%package -n python3-%{pkgname} +%package -n python%{python3_pkgversion}-%{pkgname} Summary: %{sum} -Requires: python3-flask -Requires: python3-wtforms -%{?python_provide:%python_provide python3-%{pkgname}} +Requires: python%{python3_pkgversion}-flask +Requires: python%{python3_pkgversion}-wtforms +%{?python_provide:%python_provide python%{python3_pkgversion}-%{pkgname}} -%description -n python3-%{pkgname} %_description +%description -n python%{python3_pkgversion}-%{pkgname} %_description %prep @@ -51,7 +51,7 @@ Requires: python3-wtforms for f in \ flask_admin/contrib/pymongo/typefmt.py \ flask_admin/tests/mock.py \ - flask_admin/tests/fileadmin/files/dummy.txt \ + flask_admin/tests/fileadmin/files/dummy.txt \ ; do echo "#Empty file" > $f done @@ -97,7 +97,7 @@ rm flask_admin/translations/README.md %{python2_sitelib}/flask_admin/form/ %{python2_sitelib}/*.egg-info/ -%files -n python3-%{pkgname} -f admin3.lang +%files -n python%{python3_pkgversion}-%{pkgname} -f admin3.lang %defattr(644, -, -, 755) %doc README.rst %license LICENSE @@ -114,6 +114,9 @@ rm flask_admin/translations/README.md %{python3_sitelib}/*.egg-info/ %changelog +* Thu Feb 15 2018 Itamar Reis Peixoto - 1.5.0-4 +- make spec file compatible with epel7 + * Fri Feb 09 2018 Fedora Release Engineering - 1.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild