Description of problem: The jakarta-json package failed the mass rebuild (bug 1987587) like this: [INFO] --- maven-bundle-plugin:5.1.1:bundle (default-bundle) @ jsonp-jaxrs --- [WARNING] Bundle org.glassfish:jsonp-jaxrs:bundle:1.1.6 : No translation found for macro: range;[==,+) [ERROR] Bundle org.glassfish:jsonp-jaxrs:bundle:1.1.6 : Invalid syntax for version: , for cmd: range, arguments; [range, [==,+)] [ERROR] Error(s) found in bundle configuration Running the build with -X shows: [DEBUG] Final Manifest: #----------------------------------------------------------------------- Manifest-Version: 1.0 Bnd-LastModified: 1627075105810 Build-Jdk-Spec: 11 Bundle-Description: Jakarta RESTful Web Services MessageBodyReader and M essageBodyWriter to support JsonValue API of Jakarta JSON Processing Bundle-License: https://projects.eclipse.org/license/epl-2.0, https://pr ojects.eclipse.org/license/secondary-gpl-2.0-cp Bundle-ManifestVersion: 2 Bundle-Name: Jakarta JSON Processing Media for Jakarta RESTful Web Servi ces Bundle-SymbolicName: org.glassfish.jsonp-jaxrs Bundle-Version: 1.1.5 Created-By: Apache Maven Bundle Plugin Export-Package: org.glassfish.json.jaxrs;uses:="javax.json,javax.ws.rs,j avax.ws.rs.core,javax.ws.rs.ext";version="1.1.5" Import-Package: javax.annotation;version="${range;[==,+)}", javax.json;version="[1.1,2)", javax.ws.rs;version="[2.1,3)", javax.ws.rs.core;version="[2.1,3)", javax.ws.rs.ext;version="[2.1,3)" Tool: Bnd-5.2.0 #----------------------------------------------------------------------- The version of javax.annotation is missing. Is this due to the removal of spec-version-maven-plugin support from the jakarta-annotation package? Version-Release number of selected component (if applicable): jakarta-annotations-1.3.5-10.fc35 How reproducible: Always Steps to Reproduce: 1. fedpkg clone jakarta-json 2. cd jakarta-json 3. fedpkg srpm 4. mock -r fedora-rawhide-x86_64 --rebuild jakarta-json-1.1.6-3.fc35.src.rpm Actual results: The error shown above. Expected results: A good version for javax.annotation is computed, allowing the build to proceed. Additional info:
This bug appears to have been reported against 'rawhide' during the Fedora 35 development cycle. Changing version to 35.
In commit 6aa9d768eb429982f1420fb0b3a4959767f20a19 spec-version-maven-plugin was removed. Due to that several build properties (spec.bundle.version, spec.bundle.symbolic-name, spec.extension.name, spec.implementation.version, spec.specification.version), leading to incorrect bundle manifest.
Fixed in commit d4c45b362fad6c0d8290a7b133500f4922fbf727
if you add `BuildRequires: junit` , you should be able to build it on rawhide and F35
soory wrong bug last comment if for jakarta-json