diff --git a/regexp.spec b/regexp.spec index 4457029..a4f0f4e 100644 --- a/regexp.spec +++ b/regexp.spec @@ -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) # javadoc 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} 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 JPackage exception compliant naming scheme - Remove section definition +- Install unversioned symlink - Add missing ghost for unversioned link - Add requires on java