Add workaround for rhbz#1498539
This commit is contained in:
parent
d64a203223
commit
c451c14664
|
@ -63,10 +63,12 @@ Python 3 version.
|
|||
%build
|
||||
export WITH_CYTHON=true
|
||||
%if %{with python2}
|
||||
%py2_build
|
||||
# XXX temp workaround for broken xslt-config,
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1498539
|
||||
%py2_build -- --with-xslt-config=/usr/bin/xml2-config
|
||||
%endif
|
||||
%if %{with python3}
|
||||
%py3_build
|
||||
%py3_build -- --with-xslt-config=/usr/bin/xml2-config
|
||||
%endif
|
||||
|
||||
%install
|
||||
|
@ -79,10 +81,10 @@ export WITH_CYTHON=true
|
|||
|
||||
%check
|
||||
%if %{with python2}
|
||||
%{__python2} setup.py test
|
||||
%{__python2} setup.py test -- --with-xslt-config=/usr/bin/xml2-config
|
||||
%endif
|
||||
%if %{with python3}
|
||||
%{__python3} setup.py test
|
||||
%{__python3} setup.py test -- --with-xslt-config=/usr/bin/xml2-config
|
||||
%endif
|
||||
|
||||
%if %{with python2}
|
||||
|
@ -104,6 +106,7 @@ export WITH_CYTHON=true
|
|||
%changelog
|
||||
* Thu Oct 5 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.0.0-1
|
||||
- Add build-conditionals for python2/python3
|
||||
- Add workaround for rhbz#1498539
|
||||
|
||||
* Thu Oct 05 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.0.0-1
|
||||
- Update to 4.0.0
|
||||
|
|
Loading…
Reference in New Issue