]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
* don't build new-python2
authorthan <than>
Mon, 22 Jan 2001 17:36:03 +0000 (17:36 +0000)
committerthan <than>
Mon, 22 Jan 2001 17:36:03 +0000 (17:36 +0000)
CHANGES
newt.spec

diff --git a/CHANGES b/CHANGES
index c14da3dfff2313ed65bf3c1437f8a6dbf206c4ba..e36685d3c0dd9b82648b0ac9f8410c2df0ada36d 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+0.50.19-2
+ - don't build newt-python2 sub package
+
 1.59 -> 0.50.10
        - added support for help
        - added cusor on/off stuff
index 656b7c25abe9fdd1d9f8396ad7485607ff049a4a..3622cb415116729daf54bc0128c96691e5e77c1d 100644 (file)
--- a/newt.spec
+++ b/newt.spec
@@ -2,11 +2,11 @@ Summary: A development library for text mode user interfaces.
 Name: newt
 %define version 0.50.19
 Version: %{version}
-Release: 1
+Release: 2
 Copyright: LGPL
 Group: System Environment/Libraries
 Source: ftp://ftp.redhat.com/pub/redhat/code/newt/newt-%{version}.tar.gz
-BuildRequires: python,python2,perl
+BuildRequires: python,perl
 Requires: slang
 Provides: snack
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{root}
@@ -63,11 +63,11 @@ python -c 'from compileall import *; compile_dir("'$RPM_BUILD_ROOT'/usr/lib/pyth
 
 # cheat... build python2 stuff here
 make clean
-perl -pi -e "s/python1.5/python2.0/g" *
+#perl -pi -e "s/python1.5/python2.0/g" *
 ./configure
 make instroot=$RPM_BUILD_ROOT install
 make instroot=$RPM_BUILD_ROOT install-sh
-python -c 'from compileall import *; compile_dir("'$RPM_BUILD_ROOT'/usr/lib/python2.0",10,"/usr/lib/python2.0")'
+#python -c 'from compileall import *; compile_dir("'$RPM_BUILD_ROOT'/usr/lib/python2.0",10,"/usr/lib/python2.0")'
 
 
 %clean
@@ -97,11 +97,14 @@ rm -rf $RPM_BUILD_ROOT
 /usr/lib/libnewt.a
 /usr/lib/libnewt.so
 
-%files python2
-%defattr (-,root,root)
-/usr/lib/python2.0
+#%files python2
+#%defattr (-,root,root)
+#/usr/lib/python2.0
 
 %changelog
+* Mon Jan 22 2001 Than Ngo <than@redhat.com>
+- don't build newt-python2 sub package.
+
 * Fri Dec 15 2000 Trond Eivind Glomsrød <teg@redhat.com>
 - use %%{_tmppath}
 - add python2 subpackage, with such support