On Wednesday 28 May 2008 07:42:34 Ales Nosek wrote:
Kirill Kirillov napsal(a):
Thanks for useful template spec, but I've one question: which of these two paths is correct: 1) %__install -d -m 0755 "%{buildroot}%{_datadir}/%{name}" 2) %__install -d -m 0755 "%{buildroot}%{_datadir}/java/%{name}"
For installation of Java jar files, please, use:
%{buildroot}%{_javadir}/%{name}
E.g on x86_64 %{_javadir} will expand to /usr/share/java
You can also have a look at packages in distribution to see how the directory structure looks like.
Regards, Ales
Maybe we'll add an usage of these macros to Package Convetions on wiki ... MV -- To unsubscribe, e-mail: opensuse-java+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-java+help@opensuse.org