17
0

Accepting request 654394 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/654394
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitstring?expand=0&rev=2
This commit is contained in:
2018-12-13 18:46:51 +00:00
committed by Git OBS Bridge
2 changed files with 18 additions and 10 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Dec 5 01:59:04 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Use noun phrase in summary.
-------------------------------------------------------------------
Tue Dec 4 12:46:10 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Wed Dec 27 13:55:35 UTC 2017 - jengelh@inai.de

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-bitstring
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -22,21 +22,19 @@
Name: python-bitstring
Version: 3.1.5
Release: 0
Summary: Construction, analysis and modification of binary data
Summary: Python module for the construction, analysis and modification of binary data
License: MIT
Group: Development/Languages/Python
Url: https://github.com/scott-griffiths/bitstring
URL: https://github.com/scott-griffiths/bitstring
Source: https://files.pythonhosted.org/packages/source/b/bitstring/bitstring-%{version}.zip
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module pytest}
%endif
BuildArch: noarch
%python_subpackages
%description
@@ -52,7 +50,7 @@ similar to a file or stream.
%prep
%setup -q -n bitstring-%{version}
sed -i 's/\r$//' README.rst
sed -i '1{\@^#!/usr/bin/env python@d}' bitstring.py
sed -i '1{\@^#!%{_bindir}/env python@d}' bitstring.py
%build
%python_build
@@ -69,8 +67,8 @@ py.test-%{$python_bin_suffix}
%endif
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE README.rst
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%changelog