Change spec for a el6 and epel7
This commit is contained in:
parent
63e23533ff
commit
0cae5131e0
@ -1,3 +1,9 @@
|
||||
%if 0%{?rhel} <= 6
|
||||
%{!?__python2: %global __python2 /usr/bin/python2}
|
||||
%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
||||
%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora} > 12
|
||||
%global with_python3 1
|
||||
%endif
|
||||
@ -6,7 +12,7 @@
|
||||
|
||||
Name: python-whoosh
|
||||
Version: 2.5.7
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: Fast, pure-Python full text indexing, search, and spell checking library
|
||||
|
||||
License: BSD
|
||||
@ -68,7 +74,7 @@ popd
|
||||
%check
|
||||
%{__python2} setup.py test
|
||||
|
||||
%if 0%{with_python3}
|
||||
%if 0%{?with_python3}
|
||||
pushd %{py3dir}
|
||||
%{__python3} setup.py test
|
||||
popd
|
||||
@ -96,6 +102,9 @@ popd
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Jul 30 2014 Robert Kuska <rkuska@redhat.com> - 2.7.5-4
|
||||
- Change spec for el6 and epel7
|
||||
|
||||
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.7-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user