From 11a17e22589840081b3bbbe365df83e2704abed1 Mon Sep 17 00:00:00 2001
From: "Petr \"Stone\" Hracek" <phracek@redhat.com>
Date: Thu, 1 Aug 2019 10:58:17 +0200
Subject: [PATCH] Enable dependency generator

Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
---
 python-deprecated.spec | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/python-deprecated.spec b/python-deprecated.spec
index 1fb2eaa..9932d65 100644
--- a/python-deprecated.spec
+++ b/python-deprecated.spec
@@ -3,13 +3,15 @@
 
 Name:           python-%{pkgname}
 Version:        1.2.6
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Python decorator to deprecate old python classes, functions or methods
 License:        MIT
 URL:            https://github.com/tantale/%{pkgname}
 Source0:        https://files.pythonhosted.org/packages/source/D/%{srcname}/%{srcname}-%{version}.tar.gz
 BuildArch:      noarch
 
+%{?python_enable_dependency_generator}
+
 %description
 Python @deprecated decorator to deprecate old python classes,
 functions or methods.
@@ -42,6 +44,9 @@ rm -rf %{pkgname}.egg-info
 
 
 %changelog
+* Thu Aug 01 2019 Petr Hracek <phracek@redhat.com> - 1.2.6-3
+- Enable python dependency generator
+
 * Fri Jul 26 2019 Petr Hracek <phracek@redhat.com> - 1.2.6-2
 - Fix python3_sitelib issue