It would be nice if the latest junit package provided OSGi metadata in the manifest of the junit.jar . This change would allow a consumer (eclipse) to simplify its build process which would allow a consumer of eclipse jars (tycho) to properly process dependencies. This change should not affect other consumers of the jar that happen to also require certain OSGi metadata as they would already be injecting their own attributes. (In fact it should ease their situation as well). As for consumers of the jar who do not depend on any of the OSGi metadata, the attributes being added would be ignored.
Created attachment 557717 [details] Patch
(In reply to comment #1) > Created attachment 557717 [details] > Patch Roland, this is a workaround and while it's ok for now this kind of problems bite us sooner or later. Please work on fixing the junit buildsystem upstream to produce the osgi MANIFEST.MF as part of the build system itself. One option is to use somekind of manifest.mf.in file to process it at build time to put correct values, another one is to use smth like https://admin.fedoraproject.org/pkgdb/acls/name/OSGi-bundle-ant-task. Please stick to things available in fedora already so we don't have to care for more packages just because of that.
Patch is applied, expect the new version to be in rawhide soon.
Also, please sort this change with upstream.
The work to make junit an OSGi bundle has been discussed for some time [1] and is currently awating approval [2] to be merged into junit upstream. The library used, bndlib, is in fedora (aqute-bndlib). [1] https://github.com/KentBeck/junit/issues/212 [2] https://github.com/KentBeck/junit/pull/368
Upstream seems to have the ability to build with maven, so the necessary manifest attributes can be added there. This is being proposed in https://github.com/KentBeck/junit/pull/464/ .
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle. Changing version to '19'. (As we did not run this process for some time, it could affect also pre-Fedora 19 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.