From 8ed8af0aac45fe64bf209632d044e9011b511ed1 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sun, 17 Jul 2016 15:46:49 +0000 Subject: [PATCH] #1258: rename and obsolete old python package name git-svn-id: https://xpra.org/svn/Xpra/trunk@13032 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- rpmbuild/python-netifaces.spec | 9 ++++++-- rpmbuild/python-pillow.spec | 39 +++++++++++++++++++--------------- rpmbuild/python-pycuda.spec | 26 ++++++++++++++--------- rpmbuild/python-pytools.spec | 17 +++++++++------ rpmbuild/python-srp.spec | 9 ++++++-- 5 files changed, 63 insertions(+), 37 deletions(-) diff --git a/rpmbuild/python-netifaces.spec b/rpmbuild/python-netifaces.spec index 50a9f9985c..823ce2a650 100644 --- a/rpmbuild/python-netifaces.spec +++ b/rpmbuild/python-netifaces.spec @@ -15,9 +15,9 @@ Summary: Getting network addresses from Python Vendor: http://alastairs-place.net/netifaces/ -Name: python-netifaces +Name: python2-netifaces Version: 0.10.4 -Release: 3%{?dist} +Release: 4%{?dist} License: GPL3 Requires: python Group: Networking @@ -27,7 +27,9 @@ Source: netifaces-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: python-devel, python-setuptools Provides: netifaces +Provides: python2-netifaces Obsoletes: netifaces +Obsoletes: python-netifaces %description Getting network addresses from Python @@ -82,6 +84,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Jul 17 2016 Antoine Martin - 0.10.4-4 +- rename and obsolete old python package name + * Wed Sep 17 2014 Antoine Martin 0.10.4-3 - Add Python3 package diff --git a/rpmbuild/python-pillow.spec b/rpmbuild/python-pillow.spec index 14b16056de..65423a3eec 100644 --- a/rpmbuild/python-pillow.spec +++ b/rpmbuild/python-pillow.spec @@ -40,15 +40,17 @@ %endif -Name: python-pillow +Name: python2-pillow Version: 3.3.0 -Release: 1%{?snap}%{?dist} +Release: 2%{?snap}%{?dist} Summary: Python image processing library # License: see http://www.pythonware.com/products/pil/license.htm License: MIT URL: http://python-imaging.github.com/Pillow/ -Source: https://pypi.python.org/packages/source/P/Pillow/Pillow-%{version}.tar.gz +Source: https://pypi.python.org/packages/source/P/Pillow/Pillow-%{version}.tar.gz +Provides: python-pillow +Obsoletes: python-pillow %if 0%{?suse_version} BuildRequires: python-devel @@ -294,45 +296,48 @@ rm -rf $RPM_BUILD_ROOT%{_bindir} %endif %changelog -* Mon Jul 04 2016 Antoine Martin - 3.3.0-2 +- rename and obsolete old python package name + +* Mon Jul 04 2016 Antoine Martin - 3.3.0-1 - new upstream release -* Fri Apr 08 2016 Antoine Martin - 3.2.0-2 - tweak liblcms dependencies (not useful on centos) -* Sat Apr 02 2016 Antoine Martin - 3.2.0-1 - new upstream release -* Sat Feb 06 2016 Antoine Martin - 3.1.1-1 - new upstream release -* Mon Jan 04 2016 Antoine Martin - 3.1.0-1 - new upstream release -* Sun Oct 18 2015 Antoine Martin - 3.0.0-1 - new upstream release -* Tue Jul 07 2015 Antoine Martin - 2.9.0-1 - new upstream release -* Wed Jun 10 2015 Antoine Martin - 2.8.2-1 - new upstream release -* Sun Apr 05 2015 Antoine Martin - 2.8.1-1 - new upstream release -* Mon Jan 19 2015 Antoine Martin - 2.7.0-1 - new upstream release - remove sane packages which are no longer part of the main source distribution -* Sun Jan 18 2015 Antoine Martin - 2.6.2-1 - new upstream release -* Sat Oct 25 2014 Antoine Martin - 2.6.1-1 - new upstream release -* Tue Oct 07 2014 Antoine Martin - 2.6.0-1 - new upstream release -* Thu Sep 04 2014 Antoine Martin - 2.5.3-1 - Initial packaging for xpra diff --git a/rpmbuild/python-pycuda.spec b/rpmbuild/python-pycuda.spec index c8492db0ae..b80e26b8ad 100644 --- a/rpmbuild/python-pycuda.spec +++ b/rpmbuild/python-pycuda.spec @@ -7,15 +7,17 @@ #so that we can install NVidia drivers without using RPM packages: %define __requires_exclude ^libcuda.*$ -Name: python-pycuda -Version: 2016.1 +Name: python2-pycuda +Version: 2016.1.1 Release: 1 -Url: http://mathema.tician.de/software/pycuda +URL: http://mathema.tician.de/software/pycuda Summary: Python wrapper CUDA License: MIT Group: Development/Libraries/Python Source: http://pypi.python.org/pypi/cuda/%{version}/pycuda-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build +Provides: python-pycuda +Obsoletes: python-pycuda Requires: python-decorator Requires: numpy @@ -61,23 +63,27 @@ rm -rf %{buildroot} %{python2_sitearch}/pycuda* %changelog -* Fri Apr 01 2016 Antoine Martin - 2016.1.1-1 - new upstream release +- rename and obsolete old python package name -* Wed Nov 04 2015 Antoine Martin - 2016.1-1 - new upstream release -* Wed Jul 01 2015 Antoine Martin - 2015.1.3-1 - new upstream release -* Wed Jun 17 2015 Antoine Martin - 2015.1.2-1 - new upstream release -* Sun Mar 29 2015 Antoine Martin - 2015.1-1 +- new upstream release + +* Sun Mar 29 2015 Antoine Martin - 2014.1-3 - remove dependency on libcuda so the package can be installed without using the RPM drivers -* Fri Nov 07 2014 Antoine Martin - 2014.1-2 - remove curand bindings which require libcurand found in full CUDA SDK -* Wed Sep 03 2014 Antoine Martin - 2014.1-1 - initial packaging diff --git a/rpmbuild/python-pytools.spec b/rpmbuild/python-pytools.spec index 21774369bf..ff69c29274 100644 --- a/rpmbuild/python-pytools.spec +++ b/rpmbuild/python-pytools.spec @@ -1,8 +1,8 @@ %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -Name: python-pytools +Name: python2-pytools Version: 2016.2.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A collection of tools for python Group: Development/Languages @@ -10,6 +10,8 @@ License: MIT URL: http://pypi.python.org/pypi/pytools Source0: http://pypi.python.org/packages/source/p/pytools/pytools-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Provides: python-pytools +Obsoletes: python-pytools BuildArch: noarch BuildRequires: python-devel python-setuptools @@ -56,14 +58,17 @@ rm -rf $RPM_BUILD_ROOT %changelog -* Thu May 26 2016 Antoine Martin - 2016.2.1-2 +- rename and obsolete old python package name + +* Thu May 26 2016 Antoine Martin - 2016.2.1-1 - new upstream release -* Thu Jul 16 2015 Antoine Martin - 2015.1.2-1 - new upstream release -* Wed Jun 17 2015 Antoine Martin - 2014.3.5-1 - new upstream release -* Thu Sep 04 2014 Antoine Martin - 2014.3-1 - Initial packaging for xpra diff --git a/rpmbuild/python-srp.spec b/rpmbuild/python-srp.spec index ca173b4e6f..b81209c62b 100644 --- a/rpmbuild/python-srp.spec +++ b/rpmbuild/python-srp.spec @@ -16,9 +16,9 @@ %{!?python3_sitearch: %global python3_sitearch %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} -Name: python-srp +Name: python2-srp Version: 1.0.5 -Release: 0%{?dist} +Release: 1%{?dist} URL: http://pythonhosted.org/srp/ Summary: Secure Remote Password for python License: MIT @@ -29,6 +29,8 @@ BuildRequires: python-devel BuildRequires: openssl-devel BuildRequires: python-setuptools Requires: openssl +Provides: python-srp +Obsoletes: python-srp Patch0: python-srp-py3k.patch %description @@ -85,5 +87,8 @@ rm -rf %{buildroot} %endif %changelog +* Sun Jul 17 2016 Antoine Martin - 1.0.5-1 +- rename and obsolete old python package name + * Thu Jan 07 2016 Antoine Martin - 1.0.5-0 - Initial packaging