Compare commits

...

No commits in common. "c8-beta-stream-4" and "c9s" have entirely different histories.

8 changed files with 45 additions and 6 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/jaxb-api-4.0.0.tar.gz
/jaxb-api-4.0.0.tar.gz

View File

@ -1 +0,0 @@
6df19ff85cedba43f56e46fce38ce2c5f896b646 SOURCES/jaxb-api-4.0.0.tar.gz

7
gating.yaml Normal file
View File

@ -0,0 +1,7 @@
--- !Policy
product_versions:
- rhel-9
decision_contexts:
- osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -1,6 +1,6 @@
Name: jaxb-api4
Version: 4.0.0
Release: 2%{?dist}
Release: 1%{?dist}
Summary: Jakarta XML Binding API
License: BSD
URL: https://github.com/eclipse-ee4j/jaxb-api
@ -50,8 +50,5 @@ find -name 'module-info.java' -type f -delete
%license LICENSE.md NOTICE.md
%changelog
* Tue Jan 31 2023 Marian Koncek <mkoncek@redhat.com> - 4.0.0-2
- Add major compat version
* Tue Jan 17 2023 Marian Koncek <mkoncek@redhat.com> - 4.0.0-1
- Initial build

17
plans/Smoke.java Normal file
View File

@ -0,0 +1,17 @@
import jakarta.xml.bind.JAXB;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBElement;
import jakarta.xml.bind.Marshaller;
import jakarta.xml.bind.Unmarshaller;
public class Smoke
{
public static void main(String[] args)
{
System.out.println(JAXB.class.getCanonicalName());
System.out.println(JAXBContext.class.getCanonicalName());
System.out.println(JAXBElement.class.getCanonicalName());
System.out.println(Marshaller.class.getCanonicalName());
System.out.println(Unmarshaller.class.getCanonicalName());
}
}

17
plans/smoke.fmf Normal file
View File

@ -0,0 +1,17 @@
summary: Basic smoke test
prepare:
how: install
package:
- java-11-openjdk-devel
- xmvn-tools
discover:
how: shell
tests:
- name: /smoke/classpath-import
test: |
CLASSPATH+=":$(xmvn-resolve jakarta.xml.bind:jakarta.xml.bind-api:4)"
export CLASSPATH
/usr/lib/jvm/java-11-openjdk/bin/javac plans/Smoke.java
/usr/lib/jvm/java-11-openjdk/bin/java -cp "${CLASSPATH}:plans" Smoke
execute:
how: tmt

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (jaxb-api-4.0.0.tar.gz) = eb4eab396b894ab801433e0e31f93a4980f3913176a1960591a69e4fd55f10f316a7edb712df323c59f7dc9ca6cebacb7257be06aec72446059dd8b93c6de175