Compare commits
No commits in common. "c8-beta-stream-4" and "c10s" have entirely different histories.
c8-beta-st
...
c10s
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
7
.gitignore
vendored
7
.gitignore
vendored
@ -1 +1,6 @@
|
||||
SOURCES/jaxb-fi-2.1.0.tar.gz
|
||||
/results_*
|
||||
/+.src.rpm
|
||||
|
||||
/jaxb-fi-1.2.18.tar.gz
|
||||
/jaxb-fi-2.1.0.tar.gz
|
||||
/jaxb-fi-2.1.1.tar.gz
|
||||
|
@ -1 +0,0 @@
|
||||
4c23ccc1ef727c00a26036a69c0871ba2d2db9e8 SOURCES/jaxb-fi-2.1.0.tar.gz
|
@ -1,66 +0,0 @@
|
||||
Name: jaxb-fi
|
||||
Version: 2.1.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Implementation of the Fast Infoset Standard for Binary XML
|
||||
# jaxb-fi is licensed ASL 2.0 and EDL-1.0 (BSD)
|
||||
# bundled org.apache.xerces.util.XMLChar.java is licensed ASL 1.1
|
||||
License: ASL 2.0 and BSD and ASL 1.1
|
||||
URL: https://github.com/eclipse-ee4j/jaxb-fi
|
||||
BuildArch: noarch
|
||||
|
||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: mvn(junit:junit)
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-dependency-plugin)
|
||||
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
||||
|
||||
%description
|
||||
Fast Infoset Project, an Open Source implementation of the Fast Infoset
|
||||
Standard for Binary XML.
|
||||
|
||||
The Fast Infoset specification (ITU-T Rec. X.891 | ISO/IEC 24824-1)
|
||||
describes an open, standards-based "binary XML" format that is based on
|
||||
the XML Information Set.
|
||||
|
||||
%package tests
|
||||
License: ASL 2.0 and BSD
|
||||
Summary: FastInfoset Roundtrip Tests
|
||||
%description tests
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
find -name 'module-info.java' -type f -delete
|
||||
|
||||
%pom_remove_parent
|
||||
|
||||
%pom_disable_module samples
|
||||
%pom_disable_module utilities
|
||||
|
||||
%pom_remove_plugin :buildnumber-maven-plugin
|
||||
%pom_remove_plugin :glassfish-copyright-maven-plugin
|
||||
%pom_remove_plugin :maven-enforcer-plugin
|
||||
|
||||
%mvn_package :FastInfosetRoundTripTests tests
|
||||
|
||||
%build
|
||||
# Javadoc fails: error: too many module declarations found
|
||||
%mvn_build -j
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files -f .mfiles
|
||||
%license LICENSE NOTICE.md
|
||||
%doc README.md
|
||||
|
||||
%files tests -f .mfiles-tests
|
||||
%license LICENSE NOTICE.md
|
||||
|
||||
%changelog
|
||||
* Tue Jan 17 2023 Marian Koncek <mkoncek@redhat.com> - 2.1.0-1
|
||||
- Initial build
|
8
gating.yaml
Normal file
8
gating.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-10
|
||||
decision_contexts:
|
||||
- osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/smoke.functional}
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/javapackages.functional}
|
135
jaxb-fi.spec
Normal file
135
jaxb-fi.spec
Normal file
@ -0,0 +1,135 @@
|
||||
Name: jaxb-fi
|
||||
Version: 2.1.1
|
||||
Release: 7%{?dist}
|
||||
Summary: Implementation of the Fast Infoset Standard for Binary XML
|
||||
# jaxb-fi is licensed Apache-2.0 and EDL-1.0 (BSD-3-Clause)
|
||||
# bundled org.apache.xerces.util.XMLChar.java is licensed ASL 1.1
|
||||
License: Apache-2.0 AND BSD-3-Clause AND Apache-1.1
|
||||
URL: https://github.com/eclipse-ee4j/jaxb-fi
|
||||
BuildArch: noarch
|
||||
ExclusiveArch: %{java_arches} noarch
|
||||
|
||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: mvn(junit:junit)
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-dependency-plugin)
|
||||
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
||||
|
||||
%description
|
||||
Fast Infoset Project, an Open Source implementation of the Fast Infoset
|
||||
Standard for Binary XML.
|
||||
|
||||
The Fast Infoset specification (ITU-T Rec. X.891 | ISO/IEC 24824-1)
|
||||
describes an open, standards-based "binary XML" format that is based on
|
||||
the XML Information Set.
|
||||
|
||||
%package tests
|
||||
License: Apache-2.0 AND BSD-3-Clause
|
||||
Summary: FastInfoset Roundtrip Tests
|
||||
%description tests
|
||||
%{summary}.
|
||||
|
||||
%{?javadoc_package}
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%pom_remove_parent
|
||||
|
||||
%pom_disable_module samples
|
||||
%pom_disable_module utilities
|
||||
|
||||
%pom_remove_plugin :buildnumber-maven-plugin
|
||||
%pom_remove_plugin :glassfish-copyright-maven-plugin
|
||||
%pom_remove_plugin :maven-enforcer-plugin
|
||||
|
||||
%mvn_package :FastInfosetRoundTripTests tests
|
||||
|
||||
%build
|
||||
%mvn_build
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files -f .mfiles
|
||||
%license LICENSE NOTICE.md
|
||||
%doc README.md
|
||||
|
||||
%files tests -f .mfiles-tests
|
||||
%license LICENSE NOTICE.md
|
||||
|
||||
%changelog
|
||||
* Wed Nov 13 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1.1-7
|
||||
- Remove unneeded patch
|
||||
|
||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 2.1.1-6
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
Resolves: RHEL-64018
|
||||
|
||||
* Thu Aug 01 2024 Troy Dawson <tdawson@redhat.com> - 2.1.1-5
|
||||
- Bump release for Aug 2024 java mass rebuild
|
||||
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.1.1-4
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Mon Dec 11 2023 Marian Koncek <mkoncek@redhat.com> - 2.1.1-1
|
||||
- Update to upstream version 2.1.1
|
||||
|
||||
* Fri Sep 01 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1.0-7
|
||||
- Convert License tag to SPDX format
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Tue Jun 13 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1.0-5
|
||||
- Rebuilt to enable smoke test
|
||||
|
||||
* Fri Mar 17 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1.0-4
|
||||
- Re-enable javadoc package
|
||||
|
||||
* Wed Feb 08 2023 Marian Koncek <mkoncek@redhat.com> - 2.1.0-3
|
||||
- Change licence, reorganize subpackages
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Mon Nov 21 2022 Marian Koncek <mkoncek@redhat.com> - 2.1.0-1
|
||||
- Update to upstream version 2.1.0
|
||||
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.18-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Fri Jul 08 2022 Jiri Vanek <jvanek@redhat.com> - 1.2.18-8
|
||||
- Rebuilt for Drop i686 JDKs
|
||||
|
||||
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1.2.18-7
|
||||
- Rebuilt for java-17-openjdk as system jdk
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.18-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Oct 29 2021 Didik Supriadi <didiksupriadi41@fedoraproject.org> - 1.2.18-5
|
||||
- Enable roundtrip-tests and samples module
|
||||
- Enable singleton package
|
||||
- Enable javadoc package
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.18-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Fri Jun 04 2021 Dogtag PKI Team <pki-devel@redhat.com> - 1.2.18-3
|
||||
- Disable tests
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.18-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Tue Aug 11 2020 Fabio Valentini <decathorpe@gmail.com> - 1.2.18-1
|
||||
- Initial package renamed from glassfish-fastinfoset.
|
7
plans/javapackages.fmf
Normal file
7
plans/javapackages.fmf
Normal file
@ -0,0 +1,7 @@
|
||||
summary: Run javapackages-specific tests
|
||||
discover:
|
||||
how: fmf
|
||||
url: https://src.fedoraproject.org/tests/javapackages
|
||||
ref: c10s
|
||||
execute:
|
||||
how: tmt
|
5
plans/smoke.fmf
Normal file
5
plans/smoke.fmf
Normal file
@ -0,0 +1,5 @@
|
||||
summary: Basic smoke test
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
||||
SHA512 (jaxb-fi-2.1.1.tar.gz) = 0b7f94cbcab88b12b236f892f4909e5e5184062eb93640985f9e4d87da648bf7735e8faf95e91c88c386a6d4a82419b6436a75de65307269f6df12a894ad1eb9
|
17
tests/Sanity/smoke/Smoke.java
Normal file
17
tests/Sanity/smoke/Smoke.java
Normal file
@ -0,0 +1,17 @@
|
||||
import com.sun.xml.fastinfoset.EncodingConstants;
|
||||
import com.sun.xml.fastinfoset.stax.StAXDocumentParser;
|
||||
import com.sun.xml.fastinfoset.stax.StAXDocumentSerializer;
|
||||
import org.jvnet.fastinfoset.EncodingAlgorithmIndexes;
|
||||
import org.jvnet.fastinfoset.VocabularyApplicationData;
|
||||
|
||||
public class Smoke
|
||||
{
|
||||
public static void main(String[] args)
|
||||
{
|
||||
System.out.println(EncodingConstants.class.getCanonicalName());
|
||||
System.out.println(StAXDocumentParser.class.getCanonicalName());
|
||||
System.out.println(StAXDocumentSerializer.class.getCanonicalName());
|
||||
System.out.println(EncodingAlgorithmIndexes.class.getCanonicalName());
|
||||
System.out.println(VocabularyApplicationData.class.getCanonicalName());
|
||||
}
|
||||
}
|
7
tests/Sanity/smoke/main.fmf
Normal file
7
tests/Sanity/smoke/main.fmf
Normal file
@ -0,0 +1,7 @@
|
||||
summary: jaxb-fi smoke test
|
||||
description: |
|
||||
Test basic functionality of jaxb-fi.
|
||||
require:
|
||||
- jaxb-fi
|
||||
- java-21-openjdk-devel
|
||||
- xmvn-tools
|
16
tests/Sanity/smoke/runtest.sh
Executable file
16
tests/Sanity/smoke/runtest.sh
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
# Author: Marian Koncek <mkoncek@redhat.com>
|
||||
. /usr/share/beakerlib/beakerlib.sh
|
||||
|
||||
rlJournalStart
|
||||
|
||||
rlPhaseStartTest "compile Smoke.java and run it"
|
||||
CLASSPATH+=":$(xmvn-resolve com.sun.xml.fastinfoset:FastInfoset)"
|
||||
export CLASSPATH
|
||||
rlRun "/usr/lib/jvm/java-21-openjdk/bin/javac Smoke.java"
|
||||
rlRun -s "/usr/lib/jvm/java-21-openjdk/bin/java -cp \"${CLASSPATH}:plans\" Smoke"
|
||||
rlAssertGrep "com.sun.xml.fastinfoset.stax.StAXDocumentParser" $rlRun_LOG
|
||||
rlPhaseEnd
|
||||
|
||||
rlJournalEnd
|
||||
rlJournalPrintText
|
5
tests/main.fmf
Normal file
5
tests/main.fmf
Normal file
@ -0,0 +1,5 @@
|
||||
contact: Marian Koncek <mkoncek@redhat.com>
|
||||
framework: beakerlib
|
||||
test: ./runtest.sh
|
||||
tier: 0
|
||||
component: jaxb-fi
|
Loading…
Reference in New Issue
Block a user