forked from pool/python-bencode
Accepting request 492534 from home:gregfreemyer:Tools-for-forensic-boot-cd
Upgrade to v1.2.0. This still needs to have the singlespec logic added. OBS-URL: https://build.opensuse.org/request/show/492534 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bencode?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
6988c4bc8e
commit
d91f97debb
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user