Accepting request 738296 from devel:languages:python
- Replace %fdupes -s with plain %fdupes; hardlinks are better. OBS-URL: https://build.opensuse.org/request/show/738296 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bencode?expand=0&rev=7
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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}/*
|
||||
|
||||
Reference in New Issue
Block a user