diff --git a/python-Flask-HTMLmin.changes b/python-Flask-HTMLmin.changes
index c3721c6..93db451 100644
--- a/python-Flask-HTMLmin.changes
+++ b/python-Flask-HTMLmin.changes
@@ -1,3 +1,13 @@
+-------------------------------------------------------------------
+Wed Oct 30 11:51:51 UTC 2019 - Tomáš Chvátal
+
+- Update to 1.5.2:
+ * Fix setup.py issues
+ * Update setup.py categories
+ * Fix tests
+ * Change MINIFY_PAGE to MINIFY_HTML
+ * Add deprecation warning for old config
+
-------------------------------------------------------------------
Fri Oct 26 16:41:37 UTC 2018 - Jan Engelhardt
diff --git a/python-Flask-HTMLmin.spec b/python-Flask-HTMLmin.spec
index 241ad8b..9a6e967 100644
--- a/python-Flask-HTMLmin.spec
+++ b/python-Flask-HTMLmin.spec
@@ -1,7 +1,7 @@
#
# spec file for package python-Flask-HTMLmin
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,22 +18,19 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-Flask-HTMLmin
-Version: 1.5.0
+Version: 1.5.2
Release: 0
Summary: Flask minifier for HTML responses
License: BSD-3-Clause
-Group: Development/Languages/Python
URL: https://github.com/hamidfzm/Flask-HTMLmin
Source: https://github.com/hamidfzm/Flask-HTMLmin/archive/v%{version}.tar.gz
BuildRequires: %{python_module Flask}
BuildRequires: %{python_module htmlmin}
-# Test requirements
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest-runner}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-# End of test requirements
Requires: python-Flask
Requires: python-htmlmin
BuildArch: noarch
@@ -53,7 +50,7 @@ Flask-HTMLmin minimizes HTML rendered by Flask.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%python_exec %{_bindir}/py.test
+%pytest
%files %{python_files}
%doc README.md
diff --git a/v1.5.0.tar.gz b/v1.5.0.tar.gz
deleted file mode 100644
index 12547a4..0000000
--- a/v1.5.0.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:3c4bd8a3d12f66e1ff59a7b72df8e6e6b81c562ea8dbb34577e577ea66bfffa2
-size 5285
diff --git a/v1.5.2.tar.gz b/v1.5.2.tar.gz
new file mode 100644
index 0000000..9720a61
--- /dev/null
+++ b/v1.5.2.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:20be2e75861f069e47cf7ec04d9fc9d8e020ec73dbf473ed87d0d5e36dee0dea
+size 12284