During recent review of the Dogtag (Certificate System) for inclusion in Fedora it turned out that jss package in Fedora has some violations of the Fedora packaging guidelines. These issues need to be corrected.
Matthew please add the details.
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle. Changing version to '12'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Originally, two Dogtag JNI libraries, osutil and symkey, followed the JSS packaging guidelines: Bugzilla Bug #521983 - New package for Dogtag PKI: osutil * https://bugzilla.redhat.com/show_bug.cgi?id=521983 Bugzilla Bug #522272 - New Package for Dogtag PKI: symkey * https://bugzilla.redhat.com/show_bug.cgi?id=522272 However, the Fedora packaging guidelines state: https://fedoraproject.org/wiki/Packaging/Java#Packaging_JAR_files_that_use_JNI Quoted: JAR files that require JNI shared objects MUST be installed in %{_libdir}/%{name}. The JNI shared objects themselves must also be installed in %{_libdir}/%{name}. Eventually, the following changes were made: Bugzilla Bug #529919 - Wrap "System.load()" calls in JNI libraries within try-catch block * https://bugzilla.redhat.com/show_bug.cgi?id=529919 Since Dogtag does not simultaneously support 32-bit and 64-bit packages, the only caveat to the Fedora packaging guidelines was placing a symlink in the additional packages (e. g. - for osutil): 32-bit i386/i486/i586/i686: * /usr/lib/java/osutil.jar -> /usr/lib/osutil/osutil-1.3.0.jar * /usr/lib/osutil * /usr/lib/osutil/libosutil.so * /usr/lib/osutil/osutil-1.3.0.jar * /usr/share/doc/osutil-1.3.0 * /usr/share/doc/osutil-1.3.0/LICENSE 64-bit x86_64: * /usr/lib/java/osutil.jar -> /usr/lib64/osutil/osutil-1.3.0.jar * /usr/lib64/osutil * /usr/lib64/osutil/libosutil.so * /usr/lib64/osutil/osutil-1.3.0.jar * /usr/share/doc/osutil-1.3.0 * /usr/share/doc/osutil-1.3.0/LICENSE
Created attachment 372388 [details] Sample of potential changes to JSS (UNTESTED!!!)
jss-4.2.6-5.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/jss-4.2.6-5.fc12
jss-4.2.6-3.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/jss-4.2.6-3.fc11
jss-4.2.6-5.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
jss-4.2.6-3.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.