diff --git a/python-clikit.changes b/python-clikit.changes index c9a3be6..d1fcb68 100644 --- a/python-clikit.changes +++ b/python-clikit.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Mar 23 18:13:43 UTC 2020 - Matej Cepl + +- Add macro %dephell_genspec to generate setup.py + ------------------------------------------------------------------- Sun Mar 15 10:12:32 UTC 2020 - Tomáš Chvátal diff --git a/python-clikit.spec b/python-clikit.spec index c600915..39ab011 100644 --- a/python-clikit.spec +++ b/python-clikit.spec @@ -32,6 +32,7 @@ BuildRequires: %{python_module pytest-mock >= 2.0.0} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module typing >= 3.6} BuildRequires: fdupes +BuildRequires: python-dephell-rpm-macros BuildRequires: python-rpm-macros BuildRequires: python3-dephell Requires: python-pastel >= 0.2.0 @@ -52,7 +53,8 @@ command line interfaces. %prep %setup -q -n clikit-%{version} -dephell deps convert --from pyproject.toml --to setup.py +%{!?dephell_gensetup:%define dephell_gensetup dephell deps convert --traceback --from pyproject.toml --to setup.py} +%dephell_gensetup %build %python_build