diff --git a/python-bitstring.changes b/python-bitstring.changes index 03b8ce0..50e456a 100644 --- a/python-bitstring.changes +++ b/python-bitstring.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Dec 5 01:59:04 UTC 2018 - Jan Engelhardt + +- Use noun phrase in summary. + +------------------------------------------------------------------- +Tue Dec 4 12:46:10 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Wed Dec 27 13:55:35 UTC 2017 - jengelh@inai.de diff --git a/python-bitstring.spec b/python-bitstring.spec index 39e7a90..e302371 100644 --- a/python-bitstring.spec +++ b/python-bitstring.spec @@ -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