From ae77cdf571b93e447db1ba7dad125c30132643e0ab825def81d7763bbd0bfaae Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 14:16:17 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zdaemon?expand=0&rev=25 --- python-zdaemon.changes | 5 +++++ python-zdaemon.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-zdaemon.changes b/python-zdaemon.changes index 5899ce8..b2b8584 100644 --- a/python-zdaemon.changes +++ b/python-zdaemon.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:56:25 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Sat Jun 24 13:13:12 UTC 2017 - aloisio@gmx.com diff --git a/python-zdaemon.spec b/python-zdaemon.spec index 3326a56..0ec7a18 100644 --- a/python-zdaemon.spec +++ b/python-zdaemon.spec @@ -1,7 +1,7 @@ # # spec file for package python-zdaemon # -# 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 @@ Group: Development/Languages/Python Url: https://github.com/zopefoundation/zdaemon Source: https://files.pythonhosted.org/packages/source/z/zdaemon/%{modname}-%{version}.tar.gz BuildRequires: %{python_module ZConfig} -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros From 8477eed92d5d119b41a8728be1f6e4841c8a5c956d990ae7b60afaeb192f71a0 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:26:31 +0000 Subject: [PATCH 2/2] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zdaemon?expand=0&rev=26 --- python-zdaemon.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/python-zdaemon.spec b/python-zdaemon.spec index 0ec7a18..14f0e74 100644 --- a/python-zdaemon.spec +++ b/python-zdaemon.spec @@ -24,7 +24,7 @@ Release: 0 Summary: Daemon process control library and tools License: ZPL-2.1 Group: Development/Languages/Python -Url: https://github.com/zopefoundation/zdaemon +URL: https://github.com/zopefoundation/zdaemon Source: https://files.pythonhosted.org/packages/source/z/zdaemon/%{modname}-%{version}.tar.gz BuildRequires: %{python_module ZConfig} BuildRequires: %{python_module setuptools} @@ -33,7 +33,6 @@ BuildRequires: python-rpm-macros Requires: python-ZConfig Requires(post): update-alternatives Requires(preun): update-alternatives -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -65,8 +64,8 @@ rm -rf src/zdaemon.egg-info %python_uninstall_alternative zdaemon %files %{python_files} -%defattr(-,root,root) -%doc README.rst CHANGES.rst LICENSE.txt +%license LICENSE.txt +%doc README.rst CHANGES.rst %python_alternative %{_bindir}/zdaemon %{python_sitelib}/*