Whoops, forgot database stuff for subpackages (like anyone'll notice)
This commit is contained in:
parent
1700b6e69f
commit
193c49b707
@ -42,6 +42,8 @@ Group: Text Processing/Markup/XML
|
||||
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 @@ Summary: Demo for %{name}
|
||||
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 --install %{_javadir}/jaxp_transform_impl.jar \
|
||||
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}
|
||||
|
Loading…
Reference in New Issue
Block a user