diff --git a/python-flit-core.changes b/python-flit-core.changes index ea92cfa..439ce52 100644 --- a/python-flit-core.changes +++ b/python-flit-core.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Mar 23 18:13:44 UTC 2020 - Matej Cepl + +- Add macro %dephell_genspec to generate setup.py + ------------------------------------------------------------------- Sun Mar 15 10:01:34 UTC 2020 - Tomáš Chvátal diff --git a/python-flit-core.spec b/python-flit-core.spec index 111c096..daed411 100644 --- a/python-flit-core.spec +++ b/python-flit-core.spec @@ -29,6 +29,7 @@ BuildRequires: %{python_module pytoml} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module testpath} BuildRequires: fdupes +BuildRequires: python-dephell-rpm-macros BuildRequires: python-rpm-macros BuildRequires: python3-dephell Requires: python-pytoml @@ -40,7 +41,7 @@ Flit is a simple way to put Python packages and modules on PyPI. %prep %setup -q -n flit_core-%{version} -dephell deps convert --from pyproject.toml --to setup.py +%dephell_gensetup %build %python_build