--- python-2.1.spec 2002-04-10 00:24:47.000000000 -0400 +++ python-2.1.spec.10-22 2002-10-22 16:24:36.000000000 -0400 @@ -31,6 +31,9 @@ %define config_tkinter 1 %{?_without_tkinter: %{expand: %%define config_tkinter 0}} +%define config_tools 1 +%{?_without_tools: %{expand: %%define config_tools 0}} + %define config_pymalloc --without-pymalloc %{?_with_pymalloc: %{expand: %%define config_pymalloc --with-pymalloc}} @@ -49,7 +52,7 @@ Patch2: Python-2.1-expat.patch BuildRoot: /var/tmp/%{name}-%{version}-root BuildPrereq: expat-devel >= 1.1-3tummy -BuildPrereq: db1-devel +#BuildPrereq: db1-devel BuildPrereq: gdbm-devel Prefix: %{__prefix} Packager: Sean Reifschneider @@ -324,5 +327,8 @@ %{__prefix}/lib/python2.1/lib-dynload/_tkinter.so* %endif -%files -f tools.files tools +%if %{config_tools} +%files tools %defattr(-,root,root) +%{__prefix}/lib/python2.1/Tools +%endif