15
0

Accepting request 708888 from home:pgajdos

- version update to 2.1.0
  * added: Type information
  * fixed: Inconsistent return behavior
- deleted sources
  - BitTorrent-1.1.txt (not needed)

OBS-URL: https://build.opensuse.org/request/show/708888
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bencode?expand=0&rev=11
This commit is contained in:
Tomáš Chvátal
2019-06-10 08:15:20 +00:00
committed by Git OBS Bridge
parent 737433150b
commit 781b94a8bc
5 changed files with 14 additions and 145 deletions

View File

@@ -19,15 +19,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-bencode
Version: 2.0.0
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
Source0: https://files.pythonhosted.org/packages/source/b/bencode.py/bencode.py-%{version}.tar.gz
# https://github.com/fuzeman/bencode.py/issues/12
Source1: https://raw.githubusercontent.com/spdx/license-list/master/BitTorrent-1.1.txt
BuildRequires: %{python_module pbr}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -47,7 +45,6 @@ BitTorrent software as a dependency.
%prep
%setup -q -n bencode.py-%{version}
cp %{SOURCE1} .
%build
%python_build
@@ -61,7 +58,7 @@ cp %{SOURCE1} .
%files %{python_files}
%defattr(-,root,root,-)
%license BitTorrent-1.1.txt
%license LICENSE
%doc README.rst
%{python_sitelib}/*