From 1e98214c44407e1977ac282d78e34ed3bbb01a49202b480186555832c617f918 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 14 Oct 2019 11:43:01 +0000 Subject: [PATCH] - Replace %fdupes -s with plain %fdupes; hardlinks are better. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bencode?expand=0&rev=13 --- python-bencode.changes | 5 +++++ python-bencode.spec | 9 +++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/python-bencode.changes b/python-bencode.changes index c9bb117..adffda1 100644 --- a/python-bencode.changes +++ b/python-bencode.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 14 11:42:38 UTC 2019 - Matej Cepl + +- Replace %fdupes -s with plain %fdupes; hardlinks are better. + ------------------------------------------------------------------- Mon Jun 10 05:46:29 UTC 2019 - pgajdos@suse.com diff --git a/python-bencode.spec b/python-bencode.spec index 53fac49..4f01efa 100644 --- a/python-bencode.spec +++ b/python-bencode.spec @@ -23,18 +23,16 @@ Version: 2.1.0 Release: 0 Summary: The BitTorrent bencode module as light-weight, standalone package License: BitTorrent-1.1 -Group: Development/Languages/Python -Url: https://github.com/fuzeman/bencode.py +URL: https://github.com/fuzeman/bencode.py Source0: https://files.pythonhosted.org/packages/source/b/bencode.py/bencode.py-%{version}.tar.gz BuildRequires: %{python_module pbr} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module pytest} # /SECTION -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch %python_subpackages %description @@ -51,13 +49,12 @@ BitTorrent software as a dependency. %install %python_install -%python_expand %fdupes -s %{buildroot}%{$python_sitelib} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest %files %{python_files} -%defattr(-,root,root,-) %license LICENSE %doc README.rst %{python_sitelib}/*