From 41789cf74475dcb0020759bc4606eb67f1322db5 Mon Sep 17 00:00:00 2001 From: Vivek Lakshmanan Date: Fri, 9 Feb 2007 17:43:14 +0000 Subject: [PATCH] - Install unversioned symlink --- regexp.spec | 2 ++ 1 file changed, 2 insertions(+) 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