update to rc3
- new upstream is github/pexpect/pexpect - build on noarch again
This commit is contained in:
parent
fe7f39bbfa
commit
7914823b9d
@ -4,19 +4,19 @@
|
|||||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")}
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%global relcand rc3
|
||||||
|
|
||||||
Summary: Unicode-aware Pure Python Expect-like module
|
Summary: Unicode-aware Pure Python Expect-like module
|
||||||
Name: python-pexpect
|
Name: python-pexpect
|
||||||
Version: 2.5.1
|
Version: 3.0
|
||||||
Release: 11%{?dist}
|
Release: 0.1%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
URL: http://pypi.python.org/pypi/pexpect-u
|
URL: https://github.com/pexpect/pexpect
|
||||||
Source0: http://pypi.python.org/packages/source/p/pexpect-u/pexpect-u-%{version}.tar.gz
|
Source0: https://github.com/pexpect/pexpect/releases/download/%{version}%{?relcand}/pexpect-%{version}%{?relcand}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
# Note that pexpect is currently broken for ARM (bug #999174)
|
BuildArch: noarch
|
||||||
#BuildArch: noarch
|
|
||||||
ExcludeArch: armv7hl
|
|
||||||
BuildRequires: python2-devel python-nose ed
|
BuildRequires: python2-devel python-nose ed
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
BuildRequires: python3-devel python3-nose
|
BuildRequires: python3-devel python3-nose
|
||||||
@ -62,7 +62,9 @@ pty module.
|
|||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pexpect-u-%{version}
|
%setup -q -n pexpect-%{version}%{?relcand}
|
||||||
|
|
||||||
|
#sed -i "s/0.1/10.0/g" tests/test_misc.py
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
rm -rf %{py3dir}
|
rm -rf %{py3dir}
|
||||||
@ -80,11 +82,13 @@ popd
|
|||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
|
|
||||||
%check
|
%check
|
||||||
PYTHONSTARTUP="" nosetests
|
. ./test.env
|
||||||
|
./tools/testall.py
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
pushd %{py3dir}/build/lib
|
pushd %{py3dir}
|
||||||
PYTHONSTARTUP="" nosetests-%{python3_version}
|
. ./test.env
|
||||||
|
%{_bindir}/python3 ./tools/testall.py
|
||||||
popd
|
popd
|
||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
|
|
||||||
@ -116,18 +120,23 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README doc examples LICENSE
|
%doc doc examples LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
%exclude %{python_sitelib}/pexpect/tests/
|
%exclude %{python_sitelib}/pexpect/tests/
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
%files -n python3-pexpect
|
%files -n python3-pexpect
|
||||||
%doc README doc examples LICENSE
|
%doc doc examples LICENSE
|
||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/*
|
||||||
%exclude %{python3_sitelib}/pexpect/tests/
|
%exclude %{python3_sitelib}/pexpect/tests/
|
||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 30 2013 Thomas Spura <tomspur@fedoraproject.org> - 3.0-0.1
|
||||||
|
- new upstream is github/pexpect/pexpect
|
||||||
|
- update to rc3
|
||||||
|
- build on noarch again
|
||||||
|
|
||||||
* Thu Sep 05 2013 Andrew McNabb <amcnabb@mcnabbs.org> - 2.5.1-11
|
* Thu Sep 05 2013 Andrew McNabb <amcnabb@mcnabbs.org> - 2.5.1-11
|
||||||
- Fix the name of the arm architecture in ExcludeArch
|
- Fix the name of the arm architecture in ExcludeArch
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user