diff --git a/python-beautifulsoup4.changes b/python-beautifulsoup4.changes index 9e6e130..0f1e2ef 100644 --- a/python-beautifulsoup4.changes +++ b/python-beautifulsoup4.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 22 13:25:06 UTC 2017 - aloisio@gmx.com + +- Fixed failing tests in python3 + ------------------------------------------------------------------- Sat Apr 8 17:35:17 UTC 2017 - aloisio@gmx.com diff --git a/python-beautifulsoup4.spec b/python-beautifulsoup4.spec index 573dc8c..059ed7a 100644 --- a/python-beautifulsoup4.spec +++ b/python-beautifulsoup4.spec @@ -23,8 +23,8 @@ Release: 0 Summary: HTML/XML Parser for Quick-Turnaround Applications Like Screen-Scraping License: MIT Group: Development/Libraries/Python -Url: http://www.crummy.com/software/BeautifulSoup/ -Source: https://pypi.io/packages/source/b/beautifulsoup4/beautifulsoup4-%{version}.tar.gz +Url: https://www.crummy.com/software/BeautifulSoup/ +Source: https://files.pythonhosted.org/packages/source/b/beautifulsoup4/beautifulsoup4-%{version}.tar.gz # PATCH-FIX-UPSTREAM speilicke@suse.com -- Backport of https://code.launchpad.net/~saschpe/beautifulsoup/beautifulsoup/+merge/200849 Patch0: beautifulsoup4-lxml-fixes.patch # Documentation requirements: @@ -85,16 +85,13 @@ Documentation and help files for %{name} %build %python_build pushd doc && make html && rm build/html/.buildinfo build/html/objects.inv && popd -%{_python_use_flavor python3} -%__python3 %{_bindir}/2to3 -w -n build/lib/bs4 %install %python_install -# until it can be fixed -find %{buildroot}%{python3_sitelib} -name test_soup.* -delete %python_expand %fdupes -s %{buildroot}%{$python_sitelib} %check +export LANG=en_US.UTF-8 %{python_expand export PYTHONPATH="%{buildroot}%{$python_sitelib}" pushd $PYTHONPATH $python %{_bindir}/nosetests-%{$python_version}