python3-cssselect is F20 and newer
This commit is contained in:
parent
6c681be7e9
commit
b6e58a15d2
@ -2,11 +2,15 @@
|
|||||||
%global with_python3 1
|
%global with_python3 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %{?fedora} >= 20
|
||||||
|
%global with_python3_cssselect
|
||||||
|
%endif
|
||||||
|
|
||||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
|
|
||||||
Name: python-lxml
|
Name: python-lxml
|
||||||
Version: 3.3.3
|
Version: 3.3.3
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: ElementTree-like Python bindings for libxml2 and libxslt
|
Summary: ElementTree-like Python bindings for libxml2 and libxslt
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -29,11 +33,12 @@ Requires: python-cssselect
|
|||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
|
%if 0%{?with_python3_cssselect}
|
||||||
BuildRequires: python3-cssselect
|
BuildRequires: python3-cssselect
|
||||||
|
|
||||||
Requires: python3-cssselect
|
Requires: python3-cssselect
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
lxml provides a Python binding to the libxslt and libxml2 libraries.
|
lxml provides a Python binding to the libxslt and libxml2 libraries.
|
||||||
@ -153,6 +158,9 @@ rm -rf %{buildroot}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 24 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.3-3
|
||||||
|
- python3-cssselect is not available on F19
|
||||||
|
|
||||||
* Mon Mar 24 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.3-2
|
* Mon Mar 24 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.3-2
|
||||||
- BZ#1075070 add requires and buildrequires for cssselect
|
- BZ#1075070 add requires and buildrequires for cssselect
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user