From 8ca56c793ff9c0886b681490243a6a4fadb1de0d Mon Sep 17 00:00:00 2001 From: mlichvar Date: Tue, 30 Jan 2007 09:34:52 +0000 Subject: [PATCH] - rebuild for python 2.5 (Jeremy Katz) --- newt.spec | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/newt.spec b/newt.spec index a5ec3c0..3e013c2 100644 --- a/newt.spec +++ b/newt.spec @@ -1,10 +1,7 @@ -%define pythonver %(%{__python} -c "import sys; print sys.version[:3]") - Summary: A development library for text mode user interfaces. Name: newt -%define version 0.52.4 -Version: %{version} -Release: 1%{?dist} +Version: 0.52.4 +Release: 2%{?dist} License: LGPL Group: System Environment/Libraries Source: newt-%{version}.tar.gz @@ -49,8 +46,6 @@ chmod 0644 peanuts.py popcorn.py rm -rf $RPM_BUILD_ROOT make instroot=$RPM_BUILD_ROOT install -python -c 'from compileall import *; compile_dir("'$RPM_BUILD_ROOT'%{_libdir}/python%{pythonver}",10,"%{_libdir}/python%{pythonver}")' - %find_lang %{name} %clean @@ -65,7 +60,7 @@ rm -rf $RPM_BUILD_ROOT %doc COPYING %{_bindir}/whiptail %{_libdir}/libnewt.so.* -%{_libdir}/python%{pythonver}/site-packages/* +%{_libdir}/python?.?/site-packages/* %{_mandir}/man1/whiptail.1* %files devel @@ -76,6 +71,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libnewt.so %changelog +* Thu Dec 7 2006 Jeremy Katz - 0.52.4-2 +- rebuild for python 2.5 + * Fri Oct 13 2006 Miroslav Lichvar - 0.52.4-1 - fix entry corruption when reading multibyte characters and double width character handling -- 2.47.2