Whoops, forgot database stuff for subpackages (like anyone'll notice)

This commit is contained in:
gbenson 2005-07-19 15:11:39 +00:00
parent 1700b6e69f
commit 193c49b707

View File

@ -42,6 +42,8 @@ Group: Text Processing/Markup/XML
Requires: java_cup, bcel, jlex, regexp, jaxp_parser_impl Requires: java_cup, bcel, jlex, regexp, jaxp_parser_impl
#Requires: /usr/sbin/update-alternatives #Requires: /usr/sbin/update-alternatives
#Provides: jaxp_transform_impl #Provides: jaxp_transform_impl
Requires(post): java-gcj-compat >= 1.0.31
Requires(postun): java-gcj-compat >= 1.0.31
%description xsltc %description xsltc
The XSLT Compiler is a Java-based tool for compiling XSLT stylesheets into The XSLT Compiler is a Java-based tool for compiling XSLT stylesheets into
@ -67,6 +69,8 @@ Summary: Demo for %{name}
Group: Text Processing/Markup/XML Group: Text Processing/Markup/XML
Requires: %{name} = %{epoch}:%{version}-%{release}, servletapi5 Requires: %{name} = %{epoch}:%{version}-%{release}, servletapi5
BuildRequires: servletapi5 BuildRequires: servletapi5
Requires(post): java-gcj-compat >= 1.0.31
Requires(postun): java-gcj-compat >= 1.0.31
%description demo %description demo
Demonstrations and samples for %{name}. Demonstrations and samples for %{name}.
@ -156,15 +160,23 @@ update-alternatives --install %{_javadir}/jaxp_transform_impl.jar \
update-alternatives --remove jaxp_transform_impl %{_javadir}/%{name}.jar update-alternatives --remove jaxp_transform_impl %{_javadir}/%{name}.jar
} >/dev/null 2>&1 || : } >/dev/null 2>&1 || :
#%post xsltc %post xsltc
#update-alternatives --install %{_javadir}/jaxp_transform_impl.jar \ #update-alternatives --install %{_javadir}/jaxp_transform_impl.jar \
# jaxp_transform_impl %{_javadir}/xsltc.jar 10 # jaxp_transform_impl %{_javadir}/xsltc.jar 10
%{_bindir}/rebuild-gcj-db
#%preun xsltc %preun xsltc
#{ #{
# [ $1 = 0 ] || exit 0 # [ $1 = 0 ] || exit 0
# update-alternatives --remove jaxp_transform_impl %{_javadir}/xsltc.jar # update-alternatives --remove jaxp_transform_impl %{_javadir}/xsltc.jar
#} >/dev/null 2>&1 || : #} >/dev/null 2>&1 || :
%{_bindir}/rebuild-gcj-db
%post demo
%{_bindir}/rebuild-gcj-db
%postun demo
%{_bindir}/rebuild-gcj-db
%post javadoc %post javadoc
rm -f %{_javadocdir}/%{name} rm -f %{_javadocdir}/%{name}