From f12aaa885ef134c78acf6c18bd2192c13e7d5b63e00533fb4c1d571e63201d2c Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:16:50 +0000 Subject: [PATCH 1/3] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitstring?expand=0&rev=11 --- python-bitstring.changes | 5 +++++ python-bitstring.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-bitstring.changes b/python-bitstring.changes index 03b8ce0..fe35467 100644 --- a/python-bitstring.changes +++ b/python-bitstring.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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..49aea93 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/ # @@ -27,7 +27,6 @@ License: MIT Group: Development/Languages/Python 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 From b0a2776fa26f0d36953215a26485ff38b76c322f0e0d8679b4d4cf51272e4352 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:10:16 +0000 Subject: [PATCH 2/3] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitstring?expand=0&rev=12 --- python-bitstring.spec | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/python-bitstring.spec b/python-bitstring.spec index 49aea93..14dd7ce 100644 --- a/python-bitstring.spec +++ b/python-bitstring.spec @@ -25,17 +25,16 @@ Release: 0 Summary: 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 setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: unzip +BuildArch: noarch %if %{with test} BuildRequires: %{python_module pytest} %endif -BuildArch: noarch - %python_subpackages %description @@ -51,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 @@ -68,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 From 2a1245ebc7ead94d0add5f78d61ebd55e06d54a092805bd789b91ddfb713368b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 5 Dec 2018 08:19:53 +0000 Subject: [PATCH 3/3] Accepting request 654139 from home:jengelh:branches:devel:languages:python - Use noun phrase in summary. OBS-URL: https://build.opensuse.org/request/show/654139 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitstring?expand=0&rev=13 --- python-bitstring.changes | 5 +++++ python-bitstring.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-bitstring.changes b/python-bitstring.changes index fe35467..50e456a 100644 --- a/python-bitstring.changes +++ b/python-bitstring.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/python-bitstring.spec b/python-bitstring.spec index 14dd7ce..e302371 100644 --- a/python-bitstring.spec +++ b/python-bitstring.spec @@ -22,7 +22,7 @@ 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