Compare commits
No commits in common. "c9-beta" and "c10s" have entirely different histories.
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
9
.gitignore
vendored
9
.gitignore
vendored
@ -1 +1,8 @@
|
||||
SOURCES/jaf-1.2.2.tar.gz
|
||||
/results_*
|
||||
/*.src.rpm
|
||||
|
||||
/jaf-1.2.1.tar.gz
|
||||
/jaf-1.2.2.tar.gz
|
||||
/jaf-2.1.0.tar.gz
|
||||
/jaf-2.1.1.tar.gz
|
||||
/jaf-2.1.2.tar.gz
|
||||
|
@ -1 +0,0 @@
|
||||
34af0b68133cadd23f16f2b34d2031b8d3a97959 SOURCES/jaf-1.2.2.tar.gz
|
@ -1,90 +0,0 @@
|
||||
Name: jakarta-activation
|
||||
Version: 1.2.2
|
||||
Release: 5%{?dist}
|
||||
Summary: Jakarta Activation Specification and Implementation
|
||||
License: BSD
|
||||
URL: https://eclipse-ee4j.github.io/jaf/
|
||||
BuildArch: noarch
|
||||
|
||||
Source0: https://github.com/eclipse-ee4j/jaf/archive/%{version}/jaf-%{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-dependency-plugin)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
|
||||
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
||||
|
||||
%description
|
||||
Jakarta Activation lets you take advantage of standard services to:
|
||||
determine the type of an arbitrary piece of data; encapsulate access to
|
||||
it; discover the operations available on it; and instantiate the
|
||||
appropriate bean to perform the operation(s).
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadoc for %{name}
|
||||
|
||||
%description javadoc
|
||||
This package contains javadoc for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n jaf-%{version}
|
||||
|
||||
%pom_remove_parent
|
||||
%pom_disable_module demo
|
||||
|
||||
%pom_remove_plugin :directory-maven-plugin
|
||||
sed -i 's/${main.basedir}/${basedir}/' pom.xml
|
||||
|
||||
# remove custom doclet configuration
|
||||
%pom_remove_plugin :maven-javadoc-plugin activation
|
||||
|
||||
# set bundle version manually instead of with osgiversion-maven-plugin
|
||||
# (the plugin is only used to strip off -SNAPSHOT or -Mx qualifiers)
|
||||
%pom_remove_plugin :osgiversion-maven-plugin
|
||||
sed -i "s/\${activation.osgiversion}/%{version}/g" activation/pom.xml
|
||||
|
||||
%build
|
||||
# javadoc temporairly disabled due to https://github.com/fedora-java/xmvn/issues/58
|
||||
%mvn_build -j
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files -f .mfiles
|
||||
%doc README.md
|
||||
%license LICENSE.md NOTICE.md
|
||||
|
||||
# javadoc temporairly disabled due to https://github.com/fedora-java/xmvn/issues/58
|
||||
#%files javadoc -f .mfiles-javadoc
|
||||
%files javadoc
|
||||
%license LICENSE.md NOTICE.md
|
||||
|
||||
%changelog
|
||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.2-5
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
||||
* Mon Jun 28 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.2-4
|
||||
- Temporarily disable javadoc generation
|
||||
- Resolves: rhbz#1976997
|
||||
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.2-3
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fabio Valentini <decathorpe@gmail.com> - 1.2.2-1
|
||||
- Update to version 1.2.2.
|
||||
- Drop custom maven-compiler-plugin overrides in favor of upstream settings.
|
||||
|
||||
* Wed Jul 29 2020 Fabio Valentini <decathorpe@gmail.com> - 1.2.1-7
|
||||
- Override javac source / target versions with 1.8 to fix build with Java 11.
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed May 20 2020 Fabio Valentini <decathorpe@gmail.com> - 1.2.1-5
|
||||
- Package unretired and renamed from jaf.
|
||||
|
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}
|
133
jakarta-activation.spec
Normal file
133
jakarta-activation.spec
Normal file
@ -0,0 +1,133 @@
|
||||
%bcond_with bootstrap
|
||||
|
||||
Name: jakarta-activation
|
||||
Version: 2.1.2
|
||||
Release: 7%{?dist}
|
||||
Summary: Jakarta Activation API
|
||||
# the whole project is licensed under (EPL-2.0 or BSD)
|
||||
# the source code additionally can be licensed under GPLv2 with exceptions
|
||||
# we only ship built source code
|
||||
License: EPL-2.0 OR BSD-3-Clause OR GPL-2.0-only WITH Classpath-exception-2.0
|
||||
URL: https://jakartaee.github.io/jaf-api/
|
||||
BuildArch: noarch
|
||||
%if 0%{?java_arches:1}
|
||||
ExclusiveArch: %{java_arches} noarch
|
||||
%endif
|
||||
|
||||
Source0: https://github.com/eclipse-ee4j/jaf/archive/%{version}/jaf-%{version}.tar.gz
|
||||
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
||||
%endif
|
||||
|
||||
%description
|
||||
Jakarta Activation lets you take advantage of standard services to:
|
||||
determine the type of an arbitrary piece of data; encapsulate access to
|
||||
it; discover the operations available on it; and instantiate the
|
||||
appropriate bean to perform the operation(s).
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadoc for %{name}
|
||||
|
||||
%description javadoc
|
||||
This package contains javadoc for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n jaf-api-%{version}
|
||||
|
||||
pushd api
|
||||
%pom_remove_parent
|
||||
|
||||
# remove custom doclet configuration
|
||||
%pom_remove_plugin :maven-javadoc-plugin
|
||||
|
||||
%pom_remove_plugin -r :buildnumber-maven-plugin
|
||||
%pom_remove_plugin -r :maven-enforcer-plugin
|
||||
popd
|
||||
|
||||
%build
|
||||
pushd api
|
||||
%mvn_build
|
||||
popd
|
||||
|
||||
%install
|
||||
pushd api
|
||||
%mvn_install
|
||||
popd
|
||||
|
||||
%files -f api/.mfiles
|
||||
%doc README.md
|
||||
%license LICENSE.md NOTICE.md
|
||||
|
||||
%files javadoc -f api/.mfiles-javadoc
|
||||
%license LICENSE.md NOTICE.md
|
||||
|
||||
%changelog
|
||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 2.1.2-7
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
Resolves: RHEL-64018
|
||||
|
||||
* Thu Aug 01 2024 Troy Dawson <tdawson@redhat.com> - 2.1.2-6
|
||||
- Bump release for Aug 2024 java mass rebuild
|
||||
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.1.2-5
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Sep 01 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1.2-2
|
||||
- Convert License tag to SPDX format
|
||||
|
||||
* Fri Aug 18 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1.2-1
|
||||
- Update to upstream version 2.1.2
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Wed Feb 08 2023 Marian Koncek <mkoncek@redhat.com> - 2.1.1-3
|
||||
- Change license, reduce dependencies
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Thu Dec 22 2022 Marian Koncek <mkoncek@redhat.com> - 2.1.1-1
|
||||
- Update to upstream version 2.1.1
|
||||
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1.2.2-6
|
||||
- Rebuilt for java-17-openjdk as system jdk
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Mon Jun 28 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.2-3
|
||||
- Temporarily disable javadoc generation
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fabio Valentini <decathorpe@gmail.com> - 1.2.2-1
|
||||
- Update to version 1.2.2.
|
||||
- Drop custom maven-compiler-plugin overrides in favor of upstream settings.
|
||||
|
||||
* Wed Jul 29 2020 Fabio Valentini <decathorpe@gmail.com> - 1.2.1-7
|
||||
- Override javac source / target versions with 1.8 to fix build with Java 11.
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed May 20 2020 Fabio Valentini <decathorpe@gmail.com> - 1.2.1-5
|
||||
- Package unretired and renamed from jaf.
|
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 (jaf-2.1.2.tar.gz) = cb4b9e56bfef7455b5f126bcde2c27756202843548c710afd3882b07f05b42a8eb816d0820d00eb67f79a53e396e71f53ec806fddc692f50b18e1c37deea72bc
|
15
tests/Sanity/smoke/Smoke.java
Normal file
15
tests/Sanity/smoke/Smoke.java
Normal file
@ -0,0 +1,15 @@
|
||||
import jakarta.activation.DataHandler;
|
||||
import jakarta.activation.DataSource;
|
||||
import jakarta.activation.MimeType;
|
||||
import jakarta.activation.MimeTypeParseException;
|
||||
|
||||
public class Smoke
|
||||
{
|
||||
public static void main(String[] args)
|
||||
{
|
||||
System.out.println(DataHandler.class.getCanonicalName());
|
||||
System.out.println(DataSource.class.getCanonicalName());
|
||||
System.out.println(MimeType.class.getCanonicalName());
|
||||
System.out.println(MimeTypeParseException.class.getCanonicalName());
|
||||
}
|
||||
}
|
7
tests/Sanity/smoke/main.fmf
Normal file
7
tests/Sanity/smoke/main.fmf
Normal file
@ -0,0 +1,7 @@
|
||||
summary: jakarta-activation smoke test
|
||||
description: |
|
||||
Test basic functionality of jakarta-activation.
|
||||
require:
|
||||
- jakarta-activation
|
||||
- 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 jakarta.activation:jakarta.activation-api)"
|
||||
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 "jakarta.activation.MimeType" $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: jakarta-activation
|
Loading…
Reference in New Issue
Block a user