diff --git a/python-beautifulsoup4.changes b/python-beautifulsoup4.changes index 4df5335..9f7877c 100644 --- a/python-beautifulsoup4.changes +++ b/python-beautifulsoup4.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 10 20:34:00 UTC 2013 - dmueller@suse.com + +- disable tests on SLE_11, fail due to too old python-lxml + ------------------------------------------------------------------- Sat May 18 13:30:00 UTC 2013 - toddrme2178@gmail.com diff --git a/python-beautifulsoup4.spec b/python-beautifulsoup4.spec index b3d4886..eb98586 100644 --- a/python-beautifulsoup4.spec +++ b/python-beautifulsoup4.spec @@ -26,8 +26,8 @@ Group: Development/Libraries/Python Url: http://www.crummy.com/software/BeautifulSoup/ Source: http://pypi.python.org/packages/source/b/beautifulsoup4/beautifulsoup4-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-devel >= 2.6 BuildRequires: python-Sphinx +BuildRequires: python-devel >= 2.6 BuildRequires: python-html5lib BuildRequires: python-lxml BuildRequires: python-nose @@ -71,8 +71,8 @@ Beautiful Soup. %package doc Summary: Documentation for %{name} -Recommends: %{name} = %{version} Group: Development/Libraries/Python +Recommends: %{name} = %{version} %description doc Documentation and help files for %{name} @@ -91,8 +91,10 @@ python setup.py install \ cd doc make html +%if 0%{?suse_version} >= 1140 %check nosetests +%endif %files %defattr(-,root,root) diff --git a/python3-beautifulsoup4.spec b/python3-beautifulsoup4.spec index 1b3745f..8515856 100644 --- a/python3-beautifulsoup4.spec +++ b/python3-beautifulsoup4.spec @@ -27,8 +27,8 @@ Url: http://www.crummy.com/software/BeautifulSoup/ Source: http://pypi.python.org/packages/source/b/beautifulsoup4/beautifulsoup4-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python3-2to3 -BuildRequires: python3-devel BuildRequires: python3-Sphinx +BuildRequires: python3-devel BuildRequires: python3-lxml BuildRequires: python3-nose Requires: python3-lxml @@ -64,6 +64,7 @@ Beautiful Soup. %package doc Summary: Documentation for %{name} +Group: Development/Libraries/Python Recommends: %{name} = %{version} %description doc @@ -94,5 +95,4 @@ make html %doc NEWS.txt README.txt TODO.txt %doc doc/build/html - %changelog