diff --git a/python-semver.changes b/python-semver.changes index 3df22a2..6b02a80 100644 --- a/python-semver.changes +++ b/python-semver.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Oct 3 10:08:21 UTC 2019 - John Vandenberg + +- Add Conflicts: python-node-semver +- Add fdupes + ------------------------------------------------------------------- Thu Jun 6 12:15:36 UTC 2019 - pgajdos@suse.com diff --git a/python-semver.spec b/python-semver.spec index 36151fa..bb117e7 100644 --- a/python-semver.spec +++ b/python-semver.spec @@ -29,7 +29,10 @@ URL: https://github.com/k-bx/python-semver Source: https://github.com/k-bx/python-semver/archive/%{version}.tar.gz BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros +# See https://github.com/k-bx/python-semver/issues/67 for why conflicts is needed +Conflicts: python-node-semver BuildArch: noarch %python_subpackages @@ -46,6 +49,8 @@ See also http://semver.org/ %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + %check %pytest