14
0
2018-12-04 17:26:31 +00:00
committed by Git OBS Bridge
parent ae77cdf571
commit 8477eed92d

View File

@@ -24,7 +24,7 @@ Release: 0
Summary: Daemon process control library and tools Summary: Daemon process control library and tools
License: ZPL-2.1 License: ZPL-2.1
Group: Development/Languages/Python 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 Source: https://files.pythonhosted.org/packages/source/z/zdaemon/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module ZConfig} BuildRequires: %{python_module ZConfig}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
@@ -33,7 +33,6 @@ BuildRequires: python-rpm-macros
Requires: python-ZConfig Requires: python-ZConfig
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(preun): update-alternatives Requires(preun): update-alternatives
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@@ -65,8 +64,8 @@ rm -rf src/zdaemon.egg-info
%python_uninstall_alternative zdaemon %python_uninstall_alternative zdaemon
%files %{python_files} %files %{python_files}
%defattr(-,root,root) %license LICENSE.txt
%doc README.rst CHANGES.rst LICENSE.txt %doc README.rst CHANGES.rst
%python_alternative %{_bindir}/zdaemon %python_alternative %{_bindir}/zdaemon
%{python_sitelib}/* %{python_sitelib}/*