update code
This commit is contained in:
commit
31912a7e96
BIN
pid-2.1.1.tar.gz
Normal file
BIN
pid-2.1.1.tar.gz
Normal file
Binary file not shown.
50
python-pid.spec
Normal file
50
python-pid.spec
Normal 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
|
||||
Loading…
x
Reference in New Issue
Block a user