update code

This commit is contained in:
zhuchunyi 2019-11-06 19:49:47 +08:00
commit 31912a7e96
2 changed files with 50 additions and 0 deletions

BIN
pid-2.1.1.tar.gz Normal file

Binary file not shown.

50
python-pid.spec Normal file
View File

@ -0,0 +1,50 @@
Name: python-pid
Version: 2.1.1
Release: 10
Summary: Python pid management
License: ASL 2.0
URL: https://pypi.python.org/pypi/pid
Source0: https://pypi.python.org/packages/source/p/pid/pid-%{version}.tar.gz
BuildArch: noarch
%description
A module about python pid management, with fcntl to add state to the lock file.
%package -n python3-pid
Summary: PID file management library
BuildRequires: python3-devel python3-setuptools python3-nose
%{?python_provide:%python_provide python3-pid}
%description -n python3-pid
Python-pid for python3.
%prep
%autosetup -n pid-%{version}
%build
%py3_build
%install
%py3_install
%check
%{__python3} setup.py test
%pre
%preun
%post
%postun
%files -n python3-pid
%license LICENSE
%doc AUTHORS CHANGELOG README.rst
%{python3_sitelib}/pid
%{python3_sitelib}/pid-*.egg-info
%changelog
* Fri Oct 18 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.1.1-10
- Package init