diff --git a/micropipenv.spec b/micropipenv.spec index 1f59f57..7bbc438 100644 --- a/micropipenv.spec +++ b/micropipenv.spec @@ -1,6 +1,6 @@ Name: micropipenv Version: 1.4.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A simple wrapper around pip to support Pipenv and Poetry files License: LGPLv3+ @@ -12,19 +12,21 @@ BuildRequires: python3-devel %{?python_provide:%python_provide python3-%{name}} -Requires: python3dist(toml) +Recommends: micropipenv+toml %description A lightweight wrapper for pip to support Pipenv and Poetry lock files or converting them to pip-tools compatible output. +%pyproject_extras_subpkg -n %{name} toml + %prep %autosetup # Remove shebang line from the module sed -i '1{\@^#!/usr/bin/env python@d}' %{name}.py %generate_buildrequires -%pyproject_buildrequires -r -t +%pyproject_buildrequires -r -t -x toml %build %pyproject_wheel @@ -42,6 +44,10 @@ sed -i '1{\@^#!/usr/bin/env python@d}' %{name}.py %{_bindir}/micropipenv %changelog +* Mon Oct 03 2022 Miro Hrončok - 1.4.2-2 +- Remove manual requirement of python3dist(toml), + package and Recommend the [toml] extra instead + * Tue Aug 02 2022 Lumír Balhar - 1.4.2-1 - Update to 1.4.2 Resolves: rhbz#2110900