forked from pool/python-zdaemon
Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zdaemon?expand=0&rev=26
This commit is contained in:
@@ -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}/*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user