- Install unversioned symlink

This commit is contained in:
Vivek Lakshmanan 2007-02-09 17:43:14 +00:00
parent 92b6b352b4
commit 41789cf744

View File

@ -97,6 +97,7 @@ install -m 644 build/*.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done) (cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
# javadoc # javadoc
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}
cp -r docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} cp -r docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
rm -rf docs/api rm -rf docs/api
@ -152,6 +153,7 @@ fi
- Use the upstream tar ball as JPP does since they clean it off jars anyway - Use the upstream tar ball as JPP does since they clean it off jars anyway
- Use JPackage exception compliant naming scheme - Use JPackage exception compliant naming scheme
- Remove section definition - Remove section definition
- Install unversioned symlink
- Add missing ghost for unversioned link - Add missing ghost for unversioned link
- Add requires on java - Add requires on java