[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/xalan-j2/devel xalan-j2.spec,1.32,1.33



Author: gbenson

Update of /cvs/dist/rpms/xalan-j2/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv18092

Modified Files:
	xalan-j2.spec 
Log Message:
Whoops, forgot database stuff for subpackages (like anyone'll notice)


Index: xalan-j2.spec
===================================================================
RCS file: /cvs/dist/rpms/xalan-j2/devel/xalan-j2.spec,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- xalan-j2.spec	19 Jul 2005 13:33:11 -0000	1.32
+++ xalan-j2.spec	19 Jul 2005 15:11:39 -0000	1.33
@@ -42,6 +42,8 @@
 Requires:       java_cup, bcel, jlex, regexp, jaxp_parser_impl
 #Requires:       /usr/sbin/update-alternatives
 #Provides:       jaxp_transform_impl
+Requires(post): java-gcj-compat >= 1.0.31
+Requires(postun): java-gcj-compat >= 1.0.31
 
 %description    xsltc
 The XSLT Compiler is a Java-based tool for compiling XSLT stylesheets into
@@ -67,6 +69,8 @@
 Group:          Text Processing/Markup/XML
 Requires:       %{name} = %{epoch}:%{version}-%{release}, servletapi5
 BuildRequires:  servletapi5
+Requires(post): java-gcj-compat >= 1.0.31
+Requires(postun): java-gcj-compat >= 1.0.31
 
 %description    demo
 Demonstrations and samples for %{name}.
@@ -156,15 +160,23 @@
   update-alternatives --remove jaxp_transform_impl %{_javadir}/%{name}.jar
 } >/dev/null 2>&1 || :
 
-#%post xsltc
+%post xsltc
 #update-alternatives --install %{_javadir}/jaxp_transform_impl.jar \
 #  jaxp_transform_impl %{_javadir}/xsltc.jar 10
+%{_bindir}/rebuild-gcj-db
 
-#%preun xsltc
+%preun xsltc
 #{
 #  [ $1 = 0 ] || exit 0
 #  update-alternatives --remove jaxp_transform_impl %{_javadir}/xsltc.jar
 #} >/dev/null 2>&1 || :
+%{_bindir}/rebuild-gcj-db
+
+%post demo
+%{_bindir}/rebuild-gcj-db
+
+%postun demo
+%{_bindir}/rebuild-gcj-db
 
 %post javadoc
 rm -f %{_javadocdir}/%{name}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]