remove rhel logic from with_python3 conditional; remove stray references to mako
This commit is contained in:
parent
7a574c5ef4
commit
494366c238
@ -1,4 +1,4 @@
|
|||||||
%if 0%{?fedora} || 0%{?rhel} > 6
|
%if 0%{?fedora}
|
||||||
%global with_python3 1
|
%global with_python3 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
Name: python-urwid
|
Name: python-urwid
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: Console user interface library
|
Summary: Console user interface library
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -50,7 +50,7 @@ setting text attributes, and a powerful, dynamic list box that handles a
|
|||||||
mix of widget types. It is flexible, modular, and leaves the developer in
|
mix of widget types. It is flexible, modular, and leaves the developer in
|
||||||
control.
|
control.
|
||||||
|
|
||||||
This package contains the mako module built for use with python3.
|
This package contains the urwid module built for use with python3.
|
||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -68,7 +68,6 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
|||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
pushd %{py3dir}
|
pushd %{py3dir}
|
||||||
#2to3 --no-diffs -w mako test
|
|
||||||
%{__python3} setup.py build
|
%{__python3} setup.py build
|
||||||
popd
|
popd
|
||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
@ -115,6 +114,10 @@ rm -rf %{buildroot}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 24 2012 David Malcolm <dmalcolm@redhat.com> - 1.0.0-6
|
||||||
|
- remove rhel logic from with_python3 conditional
|
||||||
|
- remove stray references to mako
|
||||||
|
|
||||||
* Sat Aug 04 2012 David Malcolm <dmalcolm@redhat.com> - 1.0.0-5
|
* Sat Aug 04 2012 David Malcolm <dmalcolm@redhat.com> - 1.0.0-5
|
||||||
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
|
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user