forked from pool/python-bitstring
Accepting request 416195 from home:mnhauke
- Update to version 3.1.5 * Support initialisation from an array. * Added a separate LICENSE file. - Update to version 3.1.4 * Fix for bitstring types when created directly from other bitstring types. * Updating contact, website details. - Update to version 3.1.3 * Fix for problem with prepend for bitstrings with byte offsets in their data store. OBS-URL: https://build.opensuse.org/request/show/416195 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitstring?expand=0&rev=7
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-bitstring
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 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
|
||||
@@ -13,16 +13,17 @@
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: python-bitstring
|
||||
Version: 3.1.2
|
||||
Version: 3.1.5
|
||||
Release: 0
|
||||
Url: http://python-bitstring.googlecode.com
|
||||
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
|
||||
Source: https://files.pythonhosted.org/packages/source/b/bitstring/bitstring-%{version}.zip
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: unzip
|
||||
@@ -48,7 +49,7 @@ similar to a file or stream.
|
||||
sed -i '/^#!/d' bitstring.py
|
||||
|
||||
# Fix wrong EOL encoding:
|
||||
sed -i 's/\r$//' README.txt release_notes.txt
|
||||
sed -i 's/\r$//' README.rst release_notes.txt
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
@@ -58,7 +59,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README.txt release_notes.txt doc/*
|
||||
%doc LICENSE README.rst release_notes.txt doc/*
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user