update code

This commit is contained in:
zhuchunyi 2019-11-06 19:50:07 +08:00
parent db7bba1915
commit 190e374d74

View File

@ -1,6 +1,6 @@
Name: python-pysocks Name: python-pysocks
Version: 1.7.0 Version: 1.7.0
Release: 1 Release: 2
Summary: A Python SOCKS client module Summary: A Python SOCKS client module
License: BSD License: BSD
URL: https://github.com/Anorov/PySocks URL: https://github.com/Anorov/PySocks
@ -17,7 +17,7 @@ ease as possible.
Summary: A Python SOCKS client module Summary: A Python SOCKS client module
BuildRequires: python2-devel python2-setuptools BuildRequires: python2-devel python2-setuptools
# for tests # for tests
BuildRequires: python2-pytest python2-psutil BuildRequires: python2-pytest
%{?python_provide:%python_provide python2-pysocks} %{?python_provide:%python_provide python2-pysocks}
# https://bugzilla.redhat.com/show_bug.cgi?id=1334407 # https://bugzilla.redhat.com/show_bug.cgi?id=1334407
@ -35,7 +35,7 @@ This package is for Python2 only.
Summary: A Python SOCKS client module Summary: A Python SOCKS client module
BuildRequires: python3-devel python3-setuptools BuildRequires: python3-devel python3-setuptools
# for tests # for tests
BuildRequires: python3-pytest python3-psutil BuildRequires: python3-pytest
%{?python_provide:%python_provide python3-pysocks} %{?python_provide:%python_provide python3-pysocks}
# if it exist, we would conflict with it. # if it exist, we would conflict with it.
@ -89,5 +89,8 @@ rm -rfv test/bin
%doc README.md %doc README.md
%changelog %changelog
* Sat Oct 26 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.7.0-2
- optimize spec file.
* Sat Sep 14 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.7.0-1 * Sat Sep 14 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.7.0-1
- Package init - Package init