SPECS: newt.spec - added nopython patch, python bcond works now
qboosh
qboosh at pld-linux.org
Thu Sep 22 21:23:56 CEST 2005
Author: qboosh Date: Thu Sep 22 19:23:56 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added nopython patch, python bcond works now
---- Files affected:
SPECS:
newt.spec (1.77 -> 1.78)
---- Diffs:
================================================================
Index: SPECS/newt.spec
diff -u SPECS/newt.spec:1.77 SPECS/newt.spec:1.78
--- SPECS/newt.spec:1.77 Thu Sep 22 21:14:27 2005
+++ SPECS/newt.spec Thu Sep 22 21:23:35 2005
@@ -1,7 +1,7 @@
# $Revision$, $Date$
#
# Conditional build:
-%bcond_without python # don't build Python module (note: needs patch to work)
+%bcond_without python # don't build Python module
%bcond_without tcl # build Tcl module
#
Summary: Not Erik's Windowing Toolkit - text mode windowing with slang
@@ -22,6 +22,7 @@
Patch2: %{name}-0.51.6-if1close.patch
Patch3: %{name}-PIC.patch
Patch4: %{name}-gcc34.patch
+Patch5: %{name}-nopython.patch
URL: http://www.msg.com.mx/Newt/
BuildRequires: autoconf
BuildRequires: popt-devel
@@ -163,6 +164,7 @@
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
sed -i -e 's#gcc#%{__cc}#g' Makefile.in
@@ -173,13 +175,15 @@
%{__make} \
CC="%{__cc}" \
- PROGS="whiptail %{?with_tcl:whiptcl.so} testgrid"
+ PROGS="whiptail %{?with_tcl:whiptcl.so} testgrid" \
+ %{!?with_python:SNACKSO=}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
%{?with_tcl:WHIPTCLSO=whiptcl.so} \
+ %{!?with_python:SNACKSO=} \
instroot=$RPM_BUILD_ROOT \
libdir=%{_libdir} \
pythondir=%{py_sitedir} \
@@ -232,6 +236,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.78 2005/09/22 19:23:35 qboosh
+- added nopython patch, python bcond works now
+
Revision 1.77 2005/09/22 19:14:27 qboosh
- fixed tcl module install (bcond enabled by default)
- removed useless aclocal call (and am BR)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/newt.spec?r1=1.77&r2=1.78&f=u
More information about the pld-cvs-commit
mailing list