From 2d48b96bca59b3caab195db64375f50936b7aa1c Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sep 17 2016 18:23:47 +0000 Subject: Update to 1.5.7 --- diff --git a/.gitignore b/.gitignore index e9ee40b..4b60940 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /PySocks-1.5.6.tar.gz +/1.5.7.tar.gz diff --git a/python-pysocks.spec b/python-pysocks.spec index 59e370f..8e2bde2 100644 --- a/python-pysocks.spec +++ b/python-pysocks.spec @@ -1,4 +1,4 @@ -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?rhel} >= 7 %global with_python3 1 %endif @@ -15,19 +15,19 @@ %global sum A Python SOCKS client module Name: python-pysocks -Version: 1.5.6 -Release: 5%{?dist} +Version: 1.5.7 +Release: 1%{?dist} Summary: %{sum} License: BSD -URL: http://pypi.python.org/pypi/PySocks -Source0: https://pypi.python.org/packages/03/a5/957346ba692216cc00e8146fb1a5da0854f8320d7eb073b1cfcb7ad977b5/%{distname}-%{version}.tar.gz +URL: https://github.com/Anorov/PySocks +Source0: https://github.com/Anorov/PySocks/archive/%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel %if 0%{?with_python3} -BuildRequires: python3-devel +BuildRequires: python%{python3_pkgversion}-devel %endif %description @@ -65,15 +65,15 @@ Acts as a drop-in replacement to the socket module. Featuring: %if 0%{?with_python3} -%package -n python3-%{flatname} +%package -n python%{python3_pkgversion}-%{flatname} Summary: %{sum} -%{?python_provide:%python_provide python3-%{flatname}} +%{?python_provide:%python_provide python%{python3_pkgversion}-%{flatname}} # This package doesn't actually exist... but if it did, we would conflict with # it. -Conflicts: python3-SocksiPy +Conflicts: python%{python3_pkgversion}-SocksiPy -%description -n python3-%{flatname} +%description -n python%{python3_pkgversion}-%{flatname} A fork of SocksiPy with bug fixes and extra features. Acts as a drop-in replacement to the socket module. Featuring: @@ -119,7 +119,7 @@ Acts as a drop-in replacement to the socket module. Featuring: %{python2_sitelib}/%{distname}-%{version}* %if 0%{?with_python3} -%files -n python3-%{flatname} +%files -n python%{python3_pkgversion}-%{flatname} # https://github.com/Anorov/PySocks/issues/42 #%%doc README.md # https://github.com/Anorov/PySocks/issues/43 @@ -132,6 +132,12 @@ Acts as a drop-in replacement to the socket module. Featuring: %changelog +* Sat Sep 17 2016 Kevin Fenzi - 1.5.7-1 +- Update to 1.5.7 + +* Fri Sep 16 2016 Orion Poplawski - 1.5.6-6 +- Ship python34-pysocks in EPEL7 + * Tue Jul 19 2016 Fedora Release Engineering - 1.5.6-5 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages diff --git a/sources b/sources index 806da9f..ac668c6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c825c7c52b2c79dde73cac8d04bd25cb PySocks-1.5.6.tar.gz +1d85fc1a5391711c04a16ff31fad1e8f 1.5.7.tar.gz