Fixed install.

This commit is contained in:
Lillian Angel 2007-11-23 15:36:27 +00:00
parent f12211a234
commit f6820bf4bc

View File

@ -47,7 +47,7 @@ ant package javadocs
%install
rm -rf $RPM_BUILD_ROOT
install -Dpm 644 build/%{name}-%{version}.jar \
install -d -m 644 build/%{name}-%{version}.jar \
$RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}