diff --git a/bencode-1.0.tar.gz b/bencode-1.0.tar.gz deleted file mode 100644 index 39b2036..0000000 --- a/bencode-1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0301c2202233a3f274c940702bac7bd02d5d053b8bf9502b085156270e30be9b -size 2385 diff --git a/bencode.py-1.2.0.tar.gz b/bencode.py-1.2.0.tar.gz new file mode 100644 index 0000000..a0e09ed --- /dev/null +++ b/bencode.py-1.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:65efa44fef2172cc54587bb04c7f703d1471f7443e07bf3da76f6f9090269018 +size 5488 diff --git a/python-bencode.changes b/python-bencode.changes index 2613357..895d8c6 100644 --- a/python-bencode.changes +++ b/python-bencode.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue May 2 20:54:08 UTC 2017 - Greg.Freemyer@gmail.com + +- update to match bencode v1.2.0 + * See bencode v.2.0 for history. This package is a simple fork of the metadata decode logic. +- add buildrequires: python-pbr which is used to provide reasonable defaults python's setup tool + ------------------------------------------------------------------- Sat Aug 23 19:27:37 UTC 2014 - mardnh@gmx.de diff --git a/python-bencode.spec b/python-bencode.spec index 9df9de1..333bbc5 100644 --- a/python-bencode.spec +++ b/python-bencode.spec @@ -1,7 +1,7 @@ # # spec file for package python-bencode # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -17,15 +17,16 @@ Name: python-bencode -Version: 1.0 +Version: 1.2.0 Release: 0 Summary: The BitTorrent bencode module as light-weight, standalone package License: BitTorrent-1.1 Group: Development/Languages/Python Url: http://bittorrent.com/ -Source: https://pypi.python.org/packages/source/b/bencode/bencode-%{version}.tar.gz +Source: https://pypi.python.org/packages/59/fb/aa4ad360601acdb6f669b4d2260562d919945ae541ab716d685dcb42b9f0/bencode.py-1.2.0.tar.gz BuildRequires: fdupes BuildRequires: python-devel +BuildRequires: python-pbr BuildRequires: python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 @@ -41,7 +42,7 @@ leight-weight package for re-using them without having the entire BitTorrent software as a dependency. %prep -%setup -q -n bencode-%{version} +%setup -q -n bencode.py-%{version} %build python setup.py build @@ -52,7 +53,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot} %files %defattr(-,root,root,-) -%doc README.txt +%doc README.rst %{python_sitelib}/* %changelog