diff --git a/apache-commons-dbcp.spec b/apache-commons-dbcp.spec index da71945..abb578f 100644 --- a/apache-commons-dbcp.spec +++ b/apache-commons-dbcp.spec @@ -38,10 +38,8 @@ BuildRequires: junit >= 3.8.1 BuildRequires: xerces-j2 Requires: commons-collections >= 3.2 Requires: commons-pool2 -Requires(post): %{_sbindir}/update-alternatives -Requires(post): javapackages-tools -Requires(postun): javapackages-tools -Requires(preun): %{_sbindir}/update-alternatives +Requires(post): update-alternatives +Requires(preun): update-alternatives Provides: %{short_name} = %{version}-%{release} Obsoletes: %{short_name} < %{version} Provides: hibernate_jdbc_cache @@ -49,8 +47,6 @@ Provides: jakarta-commons-dbcp = %{version} Obsoletes: jakarta-commons-dbcp < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch -#!BuildIgnore: jakarta-commons-dbcp-tomcat5 -#!BuildIgnore: jakarta-commons-dbcp-tomcat %description The DBCP package creates and maintains a database connection pool