oracle-jdk: provides/replaces java-environment not java-runtime.

This commit is contained in:
Juan RP 2014-09-01 23:56:57 +02:00
parent 3f15376c02
commit 64a4b2a518
1 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
pkgname=oracle-jdk
version=8u20
_longVersion=1.8.0_20
revision=1
revision=2
_build=26
short_desc="Java Development Kit (JDK)"
@ -14,8 +14,8 @@ nonfree=yes
only_for_archs="i686 x86_64"
depends="hicolor-icon-theme desktop-file-utils xdg-utils shared-mime-info wget"
hostmakedepends="wget"
provides="java-runtime-${version}_1"
replaces="java-runtime>=0"
provides="java-environment-${version}_1"
replaces="java-environment>=0"
case "${XBPS_TARGET_MACHINE}" in
x86_64)