From 4866aed217d68b116d7045d19d47a3c8ce721ec1 Mon Sep 17 00:00:00 2001 From: "Eduardo Lima (Etrunko)" Date: Wed, 11 Dec 2013 12:13:42 -0200 Subject: [PATCH] Disable TCL Signed-off-by: Eduardo Lima (Etrunko) --- packaging/libdb.spec | 44 +++----------------------------------------- 1 file changed, 3 insertions(+), 41 deletions(-) diff --git a/packaging/libdb.spec b/packaging/libdb.spec index 1196f13..4d9eb77 100644 --- a/packaging/libdb.spec +++ b/packaging/libdb.spec @@ -10,7 +10,6 @@ URL: http://www.oracle.com/database/berkeley-db/ License: BSD-3-Clause and LGPL-2.0+ Group: System/Libraries BuildRequires: perl libtool -BuildRequires: tcl-devel >= 8.5.2-3 BuildRequires: chrpath Conflicts: filesystem < 3 @@ -106,28 +105,6 @@ recovery. The Berkeley DB supports C, C++, Java, and Perl APIs. It is used by many applications, including Python and Perl, so this should be installed on all systems. -%package tcl -Summary: Development files for using the Berkeley DB with tcl -Group: Development/Libraries -Requires: %{name}%{?_isa} = %{version}-%{release} - -%description tcl -The Berkeley Database (Berkeley DB) is a programmatic toolkit that -provides embedded database support for both traditional and -client/server applications. This package contains the libraries -for building programs which use the Berkeley DB in Tcl. - -%package tcl-devel -Summary: Development files for using the Berkeley DB with tcl -Group: Development/Libraries -Requires: %{name}-tcl%{?_isa} = %{version}-%{release} - -%description tcl-devel -The Berkeley Database (Berkeley DB) is a programmatic toolkit that -provides embedded database support for both traditional and -client/server applications. This package contains the libraries -for building programs which use the Berkeley DB in Tcl. - %package sql Summary: Development files for using the Berkeley DB with sql Group: Development/Libraries @@ -174,12 +151,11 @@ ln -sf ../configure . %configure -C \ --enable-compat185 --enable-dump185 \ --enable-shared --enable-static \ - --enable-tcl --with-tcl=%{_libdir} \ --enable-cxx --enable-sql \ --disable-java \ - --enable-test \ + --disable-test \ --disable-rpath \ - --with-tcl=%{_libdir}/tcl8.5 + --disable-tcl # Remove libtool predep_objects and postdep_objects wonkiness so that # building without -nostdlib doesn't include them twice. Because we @@ -201,7 +177,7 @@ mkdir -p ${RPM_BUILD_ROOT}%{_libdir} %makeinstall STRIP=/bin/true -C dist/dist-tls # XXX Nuke non-versioned archives and symlinks -rm -f ${RPM_BUILD_ROOT}%{_libdir}/{libdb.a,libdb_cxx.a,libdb_tcl.a,libdb_sql.a} +rm -f ${RPM_BUILD_ROOT}%{_libdir}/{libdb.a,libdb_cxx.a,libdb_sql.a} chmod +x ${RPM_BUILD_ROOT}%{_libdir}/*.so* @@ -248,10 +224,6 @@ rm -rf ${RPM_BUILD_ROOT} %postun -p /sbin/ldconfig sql -%post -p /sbin/ldconfig tcl - -%postun -p /sbin/ldconfig tcl - %files %defattr(-,root,root,-) %doc LICENSE README @@ -275,7 +247,6 @@ rm -rf ${RPM_BUILD_ROOT} %defattr(-,root,root,-) %{_libdir}/libdb-%{__soversion}.a %{_libdir}/libdb_cxx-%{__soversion}.a -%{_libdir}/libdb_tcl-%{__soversion}.a %{_libdir}/libdb_sql-%{__soversion}.a %files utils @@ -305,15 +276,6 @@ rm -rf ${RPM_BUILD_ROOT} %{_includedir}/db_cxx.h %{_libdir}/libdb_cxx.so -%files tcl -%defattr(-,root,root,-) -%{_libdir}/libdb_tcl-%{__soversion}.so -%{_libdir}/libdb_tcl-%{__soversion_major}.so - -%files tcl-devel -%defattr(-,root,root,-) -%{_libdir}/libdb_tcl.so - %files sql %defattr(-,root,root,-) %{_libdir}/libdb_sql-%{__soversion}.so -- 2.7.4