From 79aeaef965c633509307b64edf4f3a9a5cb6bf4e Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Sat, 18 Feb 2023 01:18:23 +0000 Subject: [PATCH] import jaxb-istack-commons-4.1.1-1.module+el8.8.0+18046+f9f57d24 --- .gitignore | 1 + .jaxb-istack-commons.metadata | 1 + SPECS/jaxb-istack-commons.spec | 87 ++++++++++++++++++++++++++++++++++ 3 files changed, 89 insertions(+) create mode 100644 .gitignore create mode 100644 .jaxb-istack-commons.metadata create mode 100644 SPECS/jaxb-istack-commons.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b31ad37 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/jaxb-istack-commons-4.1.1.tar.gz diff --git a/.jaxb-istack-commons.metadata b/.jaxb-istack-commons.metadata new file mode 100644 index 0000000..97682b9 --- /dev/null +++ b/.jaxb-istack-commons.metadata @@ -0,0 +1 @@ +62ee81439a9a5dfa343243b7cc6334badfbfbc3b SOURCES/jaxb-istack-commons-4.1.1.tar.gz diff --git a/SPECS/jaxb-istack-commons.spec b/SPECS/jaxb-istack-commons.spec new file mode 100644 index 0000000..d7dba7e --- /dev/null +++ b/SPECS/jaxb-istack-commons.spec @@ -0,0 +1,87 @@ +Name: jaxb-istack-commons +Version: 4.1.1 +Release: 1%{?dist} +Summary: iStack Common Utility Code +License: BSD +URL: https://github.com/eclipse-ee4j/jaxb-istack-commons +BuildArch: noarch + +Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz + +BuildRequires: maven-local +BuildRequires: mvn(jakarta.activation:jakarta.activation-api:2.1.0) +BuildRequires: mvn(junit:junit) +BuildRequires: mvn(org.apache.ant:ant) +BuildRequires: mvn(org.apache.ant:ant-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) + +%description +Code shared between JAXP, JAXB, SAAJ, and JAX-WS projects. + +%package runtime +Summary: istack-commons runtime + +%description runtime +This package contains istack-commons runtime. + +%package test +Summary: istack-commons test + +%description test +This package contains istack-commons test. + +%package tools +Summary: istack-commons tools + +%description tools +This package contains istack-commons tools. + +%prep +%setup -q + +pushd istack-commons + +find -name 'module-info.java' -type f -delete + +%pom_remove_parent + +%pom_remove_plugin :buildnumber-maven-plugin +%pom_remove_plugin :glassfish-copyright-maven-plugin +%pom_remove_plugin :maven-enforcer-plugin +%pom_remove_plugin :maven-javadoc-plugin . test tools +%pom_remove_plugin :maven-source-plugin +%pom_remove_plugin :spotbugs-maven-plugin + +# Missing dependency on args4j +%pom_disable_module soimp + +%pom_disable_module buildtools +%pom_disable_module import-properties-plugin +%pom_disable_module maven-plugin + +%mvn_package :istack-commons __noinstall +popd + +%build +pushd istack-commons +# Javadoc fails on module.info files: "error: too many module declarations found" +%mvn_build -f -s -j +popd + +%install +pushd istack-commons +%mvn_install +popd + +%files runtime -f istack-commons/.mfiles-istack-commons-runtime +%license LICENSE.md NOTICE.md +%files test -f istack-commons/.mfiles-istack-commons-test +%license LICENSE.md NOTICE.md +%files tools -f istack-commons/.mfiles-istack-commons-tools +%license LICENSE.md NOTICE.md + +%changelog +* Tue Jan 17 2023 Marian Koncek - 4.1.1-1 +- Initial build