]> git.pld-linux.org Git - packages/newt.git/commitdiff
- added nopython patch, python bcond works now auto/th/newt-0_51_6-2
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 22 Sep 2005 19:23:35 +0000 (19:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    newt.spec -> 1.78

newt.spec

index ad944c450e8ae84355fdac60aa4d924e057318a9..5419bb572c650fed21a4511874b70bc68d1fd474 100644 (file)
--- a/newt.spec
+++ b/newt.spec
@@ -1,6 +1,6 @@
 #
 # 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
@@ -21,6 +21,7 @@ Patch1:               %{name}-install_sh.patch
 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
@@ -162,6 +163,7 @@ przyjazny.
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 sed -i -e 's#gcc#%{__cc}#g' Makefile.in
 
@@ -172,13 +174,15 @@ sed -i -e 's#gcc#%{__cc}#g' Makefile.in
 
 %{__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} \
This page took 0.547114 seconds and 4 git commands to generate.