FS#13276 - [openjdk6] versioned provisions

Attached to Project: Arch Linux
Opened by Xavier (shining) - Saturday, 14 February 2009, 18:05 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 15 February 2009, 14:44 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Versioned provisions are required for solving  FS#13071 
Please change java-environment to java-environment=6
and java-runtime to java-runtime=6 in the provides line.

I would also recommend a cleanup of conflicts/provides :
conflicts=('jdk' 'j2sdk' 'java-environment' 'j2re' 'java-runtime' 'jre')
provides=('jdk=6' 'j2sdk' 'java-environment' 'jre=6' 'j2re' 'java-runtime')
could be simply :
conflicts=('java-environment' 'java-runtime')
provides=('java-environment=6' 'java-runtime=6')

* j2re and j2sdk are long gone
* since jdk provides java-environment and jre provides java-runtime, jdk and jre are totally useless in conflicts
They are not really needed in provides either : packages who explicitly depend on jdk and jre should be fixed to depend on java-environment>=6 or java-runtime>=6 instead.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Sunday, 15 February 2009, 14:44 GMT
Reason for closing:  Implemented

Loading...