15
0

- 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
This commit is contained in:
2019-10-14 11:43:01 +00:00
committed by Git OBS Bridge
parent 781b94a8bc
commit 1e98214c44
2 changed files with 8 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 14 11:42:38 UTC 2019 - Matej Cepl <mcepl@suse.com>
- Replace %fdupes -s with plain %fdupes; hardlinks are better.
-------------------------------------------------------------------
Mon Jun 10 05:46:29 UTC 2019 - pgajdos@suse.com

View File

@@ -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}/*