diff --git a/python-twine.changes b/python-twine.changes index d89f793..f73c360 100644 --- a/python-twine.changes +++ b/python-twine.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Feb 9 13:45:55 UTC 2019 - Matej Cepl + +- Deduplicate installed files + ------------------------------------------------------------------- Mon May 21 09:30:29 UTC 2018 - tchvatal@suse.com diff --git a/python-twine.spec b/python-twine.spec index c3daea6..2fa3aeb 100644 --- a/python-twine.spec +++ b/python-twine.spec @@ -1,7 +1,7 @@ # # spec file for package python-twine # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -32,6 +32,7 @@ BuildRequires: %{python_module requests >= 2.17.0} BuildRequires: %{python_module requests-toolbelt >= 0.8.0} BuildRequires: %{python_module setuptools >= 0.7.0} BuildRequires: %{python_module tqdm >= 4.14} +BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-pkginfo >= 1.4.2 Requires: python-requests >= 2.17.0 @@ -61,6 +62,7 @@ sed -i '1s/^#!.*//' twine/__main__.py %install %python_install %python_clone -a %{buildroot}%{_bindir}/twine +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_version}