Jussi Lehtola wrote:
Hi,
there seems to be an inconsistency with the Java guidelines:
http://fedoraproject.org/wiki/Packaging/Java
http://fedoraproject.org/wiki/Packaging/Java#Jar_file_naming states that
if the package only contains a single .jar file it should have the same
name as the package, but the ant and maven spec file templates
install .jar files as
cp -p [build path to jar] \
$RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
I would lean towards Java#Jar_file_naming being clarified but I'm not a
java guy. Andrew, Fernando, Deepak, someone want to write up a
clarification of this?
Also, I find it a bit inconsistent that java packages don't have to have
a java- prefix as python, perl, php and so on packages have to.
I do to but I think this is the standard for enough packages that we
shouldn't look at fixing it unless it's causing breakage.
-Toshio