jpackage-utils from jpackage-5.0-generic does not work with java-1.7.0-openjdk

Tomas Lestach <[email protected]> Tue, 7 Jan 2014 12:02:22 +0000 (UTC)
Newsgroups gmane.linux.jpackage.general
Message-ID <[email protected]>
Having installed java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64, 

JAVAVER_LIBDIR within the /usr/share/java-utils/java-functions will be set to 
'/usr/share/java-1.7.0'. The problem is, jpackage-utils-5.0.0-2.jpp5.noarch 
does not contain this directory.

That leads to following error:
# build-jar-repository . servletapi5
/usr/bin/build-jar-repository: error: JAVAVER_LIBDIR /usr/share/java-1.7.0 
does not exist or is not a directory

# rpm -qf `which build-jar-repository`
jpackage-utils-5.0.0-2.jpp5.noarch
# rpm -ql jpackage-utils | grep \/usr\/share\/java-1\.
/usr/share/java-1.4.0
/usr/share/java-1.4.1
/usr/share/java-1.4.2
/usr/share/java-1.5.0
/usr/share/java-1.6.0

Would it be possible to add jpackage-utils-5.0.0-7.jpp6.noarch.rpm (actually 
in jpackage-utils from jpackage-6.0-generic) to jpackage-5.0-generic repo? 
This version contains /usr/share/java-1.7.0 directory and works as expected.