python-daemon/python-daemon.spec

65 lines
1.9 KiB
RPMSpec
Raw Permalink Normal View History

2021-08-24 10:43:42 +08:00
Name: python-daemon
2022-07-29 10:23:13 +08:00
Version: 2.3.1
Release: 1
2021-08-24 10:43:42 +08:00
Summary: Library to implement a well-behaved Unix daemon process
2022-06-07 15:20:30 +08:00
License: GPL-3.0-only and Apache-2.0
2021-08-24 10:43:42 +08:00
URL: https://pagure.io/python-daemon
Source0: https://files.pythonhosted.org/packages/05/97/210f94322675c838319ffa8e505032373ff1f6a6219af8d16427e00b1051/%{name}-%{version}.tar.gz
# Downstream-only patch, twine is unnecessary to build
# https://pagure.io/python-daemon/c/cc9e6a0321a547aacd568aa1e8c7d94a000d5d11
Patch0: remove-twine-dependency.patch
BuildArch: noarch
BuildRequires: python3-devel, python3-setuptools
BuildRequires: python3-testscenarios
BuildRequires: python3-docutils
BuildRequires: python3-lockfile
BuildRequires: python3-mock
BuildRequires: python3-testtools
%global _description\
This library implements the well-behaved daemon specification of PEP 3143,\
"Standard daemon process library".\
%description %_description
%package -n python3-daemon
Summary: Library to implement a well-behaved Unix daemon process
Requires: python3-lockfile
Requires: python3-docutils
%{?python_provide:%python_provide python3-daemon}
%description -n python3-daemon %_description
%prep
%autosetup -p1
%build
%py3_build
%install
%py3_install
rm -fr %{buildroot}%{python3_sitelib}/tests
%check
PYTHONPATH=$(pwd) %{__python3} -m unittest discover
%files -n python3-daemon
%license LICENSE.ASF-2
%{python3_sitelib}/daemon/
%{python3_sitelib}/python_daemon-%{version}-py%{python3_version}.egg-info/
%changelog
2022-07-29 10:23:13 +08:00
* Fri Jul 29 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 2.3.1-1
- Update to 2.3.1
* Thu Jul 07 2022 yaoxin <yaoxin30@h-partners.com> - 2.2.4-3
- Resolve the compilation fails, due to python-testtools update to 2.5.0
2022-06-07 15:20:30 +08:00
* Tue Jun 07 2022 liukuo <liukuo@kylinos.cn> - 2.2.4-2
- License compliance rectification
2021-08-24 10:43:42 +08:00
* Wed Aug 18 2021 Python_Bot <Python_Bot@openeuler.org> - 2.2.4-1
- Init Package