From 8477eed92d5d119b41a8728be1f6e4841c8a5c956d990ae7b60afaeb192f71a0 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:26:31 +0000 Subject: [PATCH] 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}/*