From d7f295c852c30758044dca99df3ec132ff1ee049 Mon Sep 17 00:00:00 2001 From: gbenson Date: May 05 2005 11:26:02 +0000 Subject: Add dependencies for %post and %postun scriptlets (#156901) --- diff --git a/ant.spec b/ant.spec index 5fb97c5..22c0480 100644 --- a/ant.spec +++ b/ant.spec @@ -3,7 +3,7 @@ Name: ant Version: 1.6.2 -Release: 3jpp_5fc +Release: 3jpp_6fc Epoch: 0 Summary: Ant build tool for java Summary(it): Tool per la compilazione di programmi java @@ -11,8 +11,6 @@ Summary(fr): Outil de compilation pour java License: Apache Software License URL: http://ant.apache.org/ Group: Development/Build Tools -#Vendor: JPackage Project -#Distribution: JPackage Source0: http://www.apache.org/dist/ant/source/apache-ant-1.6.2-src.tar.gz # Ant configuration file which is edited when each optional subpackage # is installed/uninstalled @@ -28,12 +26,15 @@ Requires: java-devel BuildRequires: jaxp_parser_impl BuildRequires: jpackage-utils >= 0:1.5 BuildRequires: java-devel -BuildRequires: gcc-java >= 4.0.0-0.43 -ExclusiveArch: i386 x86_64 ppc BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Obsoletes: ant-optional ant-optional-full -# RHUG -Obsoletes: ant-devel ant-libs ant-core +# RHEL3 and FC2 +Obsoletes: %{name}-libs <= 0:1.5.2, %{name}-core <= 0:1.5.2 +# libgcj aot-compiled native libraries +BuildRequires: gcc-java >= 4.0.0-0.43 +BuildRequires: java-1.4.2-gcj-compat >= 1.4.2.0-40jpp_16rh +Requires(post,postun): java-1.4.2-gcj-compat >= 1.4.2.0-40jpp_16rh +ExclusiveArch: i386 x86_64 ppc %description Ant is a platform-independent build tool for java. It's used by apache @@ -626,6 +627,9 @@ fi # ----------------------------------------------------------------------------- %changelog +* Thu May 5 2005 Gary Benson 0:1.6.2-3jpp_6fc +- Add dependencies for %post and %postun scriptlets (#156901). + * Fri Apr 29 2005 Gary Benson 0:1.6.2-3jpp_5fc - BC-compile the two core jars. - Own /usr/share/java/ant.