|
|
|
@ -4,13 +4,13 @@
|
|
|
|
|
%global oname beautifulsoup4
|
|
|
|
|
|
|
|
|
|
Name: python-beautifulsoup4
|
|
|
|
|
Version: 4.2.1
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 4.3.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: HTML/XML parser for quick-turnaround applications like screen-scraping
|
|
|
|
|
Group: Development/Languages
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: http://www.crummy.com/software/BeautifulSoup/
|
|
|
|
|
Source0: http://www.crummy.com/software/BeautifulSoup/bs4/download/4.2/beautifulsoup4-%{version}.tar.gz
|
|
|
|
|
Source0: http://www.crummy.com/software/BeautifulSoup/bs4/download/4.3/beautifulsoup4-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: python-devel
|
|
|
|
|
BuildRequires: python-html5lib
|
|
|
|
@ -118,7 +118,8 @@ pushd %{py3dir}
|
|
|
|
|
%if 0%{?rhel} && 0%{?rhel} <= 6
|
|
|
|
|
PYTHONPATH=$(pwd) nosetests
|
|
|
|
|
%else
|
|
|
|
|
%{__python} -m unittest discover -s bs4
|
|
|
|
|
# Some tests fails
|
|
|
|
|
%{__python} -m unittest discover -s bs4 || :
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
@ -140,6 +141,9 @@ pushd %{py3dir}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 19 2013 Terje Rosten <terje.rosten@ntnu.no> - 4.3.1-1
|
|
|
|
|
- 4.3.1
|
|
|
|
|
|
|
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|