From 9d68711bed7ce00a4292baa381f8dbca50b52b9610149ada9347dd9baa652510 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Thu, 24 Oct 2013 11:06:39 +0000 Subject: [PATCH] - Require python-setuptools instead of distribute (upstreams merged) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=13 --- python-html2text.changes | 5 +++++ python-html2text.spec | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/python-html2text.changes b/python-html2text.changes index b41d81c..d3a703f 100644 --- a/python-html2text.changes +++ b/python-html2text.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 24 11:06:38 UTC 2013 - speilicke@suse.com + +- Require python-setuptools instead of distribute (upstreams merged) + ------------------------------------------------------------------- Sat Jan 7 15:46:35 UTC 2012 - alexandre@exatati.com.br diff --git a/python-html2text.spec b/python-html2text.spec index f8644d3..0b8c617 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -1,7 +1,7 @@ # # spec file for package python-html2text # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -11,10 +11,11 @@ # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} @@ -28,7 +29,7 @@ Group: Development/Languages/Python Source: html2text-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel -BuildRequires: python-distribute +BuildRequires: python-setuptools %if 0%{?suse_version} %py_requires %if 0%{?suse_version} > 1110