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}/*