rpms/xalan-j2/devel xalan-j2.spec,1.50,1.51
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Thu Aug 10 16:49:51 UTC 2006
Author: vivekl
Update of /cvs/dist/rpms/xalan-j2/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv21969
Modified Files:
xalan-j2.spec
Log Message:
- Resync with latest from JPP.
- Partially adopt new naming convention (.1 suffix).
- Use ln and rm explicitly instead of core-utils in Requires(x).
Index: xalan-j2.spec
===================================================================
RCS file: /cvs/dist/rpms/xalan-j2/devel/xalan-j2.spec,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- xalan-j2.spec 10 Aug 2006 10:30:12 -0000 1.50
+++ xalan-j2.spec 10 Aug 2006 16:49:48 -0000 1.51
@@ -37,7 +37,7 @@
Name: xalan-j2
Version: 2.7.0
-Release: 4jpp_5fc
+Release: 5jpp.1
Epoch: 0
Summary: Java XSLT processor
License: Apache Software License
@@ -58,6 +58,8 @@
Provides: jaxp_transform_impl
Requires: jaxp_parser_impl
Requires: /usr/sbin/update-alternatives
+Requires(post): /usr/sbin/update-alternatives
+Requires(preun): /usr/sbin/update-alternatives
BuildRequires: jpackage-utils >= 0:1.6
BuildRequires: java-devel
BuildRequires: ant
@@ -113,7 +115,9 @@
Summary: Javadoc for %{name}
Group: Development/Documentation
BuildRequires: java-javadoc
-Requires(post): coreutils
+Requires(post): %{__rm}
+Requires(post): /bin/ln
+Requires(postun): %{__rm}
%description javadoc
Javadoc for %{name}.
@@ -251,6 +255,11 @@
rm -f %{_javadocdir}/%{name}
ln -s %{name}-%{version} %{_javadocdir}/%{name}
+%postun javadoc
+if [ "$1" = "0" ]; then
+ rm -f %{_javadocdir}/%{name}
+fi
+
%post xsltc
%if %{gcj_support}
if [ -x %{_bindir}/rebuild-gcj-db ]
@@ -326,6 +335,11 @@
%endif
%changelog
+* Thu Aug 10 2006 Vivek Lakshmanan <vivekl at redhat.com> - 0:2.7.0-5jpp.1
+- Resync with latest from JPP.
+- Partially adopt new naming convention (.1 suffix).
+- Use ln and rm explicitly instead of core-utils in Requires(x).
+
* Thu Aug 10 2006 Karsten Hopp <karsten at redhat.de> 2.7.0-4jpp_5fc
- Requires(post): coreutils
@@ -556,4 +570,3 @@
* Wed Aug 08 2001 Guillaume Rousse <guillomovitch at users.sourceforge.net> 2.2.D6-1mdk
- first Mandrake release
-
More information about the fedora-cvs-commits
mailing list