Fixed install.
This commit is contained in:
parent
f12211a234
commit
f6820bf4bc
@ -47,7 +47,7 @@ ant package javadocs
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
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
|
$RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
|
||||||
ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
|
ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
|
||||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
||||||
|
Loading…
Reference in New Issue
Block a user