FS#38243 - [xerces2-java] should conflict with and provide [java-resolver]
Attached to Project:
Arch Linux
Opened by Luke Shumaker (lukeshu) - Monday, 23 December 2013, 08:43 GMT
Last edited by Guillaume ALAUX (galaux) - Wednesday, 29 January 2014, 21:22 GMT
Opened by Luke Shumaker (lukeshu) - Monday, 23 December 2013, 08:43 GMT
Last edited by Guillaume ALAUX (galaux) - Wednesday, 29 January 2014, 21:22 GMT
|
Details
Description:
xerces2-java and java-resolver both contain the file `/usr/share/java/resolver.jar`. This isn't a naming conflict--the two are compatible. xerces2-java should conflict with java-resolver, as well as provide it. Additional info: * package version(s): extra/xerces2-java 2.11.0-2 extra/java-resolver 1.2-1 |
This task depends upon
Closed by Guillaume ALAUX (galaux)
Wednesday, 29 January 2014, 21:22 GMT
Reason for closing: Fixed
Additional comments about closing: xerces2-java-2.11.0-3
Wednesday, 29 January 2014, 21:22 GMT
Reason for closing: Fixed
Additional comments about closing: xerces2-java-2.11.0-3
conflicts=('java-resolver')
provides=('java-resolver')
replaces=('java-resolver')
Guillaume?
Maybe look what most common other distros are doing.
http://pkgs.fedoraproject.org/cgit/xml-commons-resolver.git/tree/xml-commons-resolver.spec?id=f4be5169b125748f435ea26bfdcbf27f2f676bb8
and ship resolver.jar in xerces-j2, see
http://pkgs.fedoraproject.org/cgit/xerces-j2.git/tree/xerces-j2.spec?id=049c280bfcf8498880ce0126ec5c6b3c18f30691
I leave it up to you how to package java stuff. If you want to keep using prebuilt jar files or switch to build from source and how to deal with this file conflict. I'm only affected because some of my packages (mainly LibO) depend on java packages. I personally have no interest in maintaining java packages. So - your choice.
Requires: xml-commons-resolver >= 1.2
ln -sf $(build-classpath xml-commons-resolver) resolver.jar
I went that way but did not build xerces2-java from source as its build.xml needs patching etc.