update to 3.0.4

This commit is contained in:
weiwei_150212 2020-07-28 17:34:16 +08:00
parent e6b78db500
commit 86bdf748a7
3 changed files with 11 additions and 4 deletions

Binary file not shown.

BIN
pid-3.0.4.tar.gz Normal file

Binary file not shown.

View File

@ -1,8 +1,8 @@
%bcond_without python2 %bcond_without python2
Name: python-pid Name: python-pid
Version: 2.1.1 Version: 3.0.4
Release: 12 Release: 1
Summary: Python pid management Summary: Python pid management
License: ASL 2.0 License: ASL 2.0
URL: https://pypi.python.org/pypi/pid URL: https://pypi.python.org/pypi/pid
@ -44,8 +44,12 @@ Python-pid for python3.
%py3_install %py3_install
%check %check
PYTHONPATH=%{buildroot}%{python2_sitelib} nosetests-%{python2_version} %if %{with python2_tests}
%{__python3} setup.py test PYTHONPATH=%{buildroot}%{python2_sitelib} nosetests-%{python2_version} --verbose
%endif
%if %{with python3_tests}
PYTHONPATH=%{buildroot}%{python3_sitelib} nosetests-%{python3_version} --verbose
%endif
%pre %pre
@ -70,6 +74,9 @@ PYTHONPATH=%{buildroot}%{python2_sitelib} nosetests-%{python2_version}
%{python3_sitelib}/pid-*.egg-info %{python3_sitelib}/pid-*.egg-info
%changelog %changelog
* Tue Jul 28 2020 jinzhimin<jinzhimin2@huawei.com> - 3.0.4-1
- update to 3.0.4
* Sat Mar 23 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.1.1-12 * Sat Mar 23 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.1.1-12
- Add macro of bcond_with - Add macro of bcond_with