Accepting request 148415 from home:posophe:branches:devel:languages:python
Remove Requires: python(abi) = %{py3_ver} as asked
OBS-URL: https://build.opensuse.org/request/show/148415
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitstring?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
f81856a93c
commit
a17d5b6263
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-bitstring
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,10 +16,10 @@
|
||||
|
||||
|
||||
Name: python-bitstring
|
||||
Version: 2.2.0
|
||||
Version: 3.0.2
|
||||
Release: 0
|
||||
Url: http://python-bitstring.googlecode.com
|
||||
Summary: Simple construction, analysis and modification of binary data.
|
||||
Summary: Simple construction, analysis and modification of binary data
|
||||
License: MIT
|
||||
Group: Development/Libraries/Python
|
||||
Source: http://pypi.python.org/packages/source/b/bitstring/bitstring-%{version}.zip
|
||||
@@ -46,6 +46,11 @@ similar to a file or stream.
|
||||
|
||||
%prep
|
||||
%setup -q -n bitstring-%{version}
|
||||
# For rpmlint warning: remove shebang from python library:
|
||||
sed -i '/^#!/d' bitstring.py
|
||||
|
||||
# Fix wrong EOL encoding:
|
||||
sed -i 's/\r$//' README.txt release_notes.txt
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
|
||||
Reference in New Issue
Block a user