Blame SPECS/jaxb-istack-commons.spec

230761
Name:           jaxb-istack-commons
230761
Version:        4.1.1
230761
Release:        1%{?dist}
230761
Summary:        iStack Common Utility Code
230761
License:        BSD
230761
URL:            https://github.com/eclipse-ee4j/jaxb-istack-commons
230761
BuildArch:      noarch
230761
230761
Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
230761
230761
BuildRequires:  maven-local
230761
BuildRequires:  mvn(jakarta.activation:jakarta.activation-api:2.1.0)
230761
BuildRequires:  mvn(junit:junit)
230761
BuildRequires:  mvn(org.apache.ant:ant)
230761
BuildRequires:  mvn(org.apache.ant:ant-junit)
230761
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
230761
BuildRequires:  mvn(org.apache.maven.plugins:maven-assembly-plugin)
230761
BuildRequires:  mvn(org.apache.maven.plugins:maven-dependency-plugin)
230761
230761
%description
230761
Code shared between JAXP, JAXB, SAAJ, and JAX-WS projects.
230761
230761
%package runtime
230761
Summary:        istack-commons runtime
230761
230761
%description runtime
230761
This package contains istack-commons runtime.
230761
230761
%package test
230761
Summary:        istack-commons test
230761
230761
%description test
230761
This package contains istack-commons test.
230761
230761
%package tools
230761
Summary:        istack-commons tools
230761
230761
%description tools
230761
This package contains istack-commons tools.
230761
230761
%prep
230761
%setup -q
230761
230761
pushd istack-commons
230761
230761
find -name 'module-info.java' -type f -delete
230761
230761
%pom_remove_parent
230761
230761
%pom_remove_plugin :buildnumber-maven-plugin
230761
%pom_remove_plugin :glassfish-copyright-maven-plugin
230761
%pom_remove_plugin :maven-enforcer-plugin
230761
%pom_remove_plugin :maven-javadoc-plugin . test tools
230761
%pom_remove_plugin :maven-source-plugin
230761
%pom_remove_plugin :spotbugs-maven-plugin
230761
230761
# Missing dependency on args4j
230761
%pom_disable_module soimp
230761
230761
%pom_disable_module buildtools
230761
%pom_disable_module import-properties-plugin
230761
%pom_disable_module maven-plugin
230761
230761
%mvn_package :istack-commons __noinstall
230761
popd
230761
230761
%build
230761
pushd istack-commons
230761
# Javadoc fails on module.info files: "error: too many module declarations found"
230761
%mvn_build -f -s -j
230761
popd
230761
230761
%install
230761
pushd istack-commons
230761
%mvn_install
230761
popd
230761
230761
%files runtime -f istack-commons/.mfiles-istack-commons-runtime
230761
%license LICENSE.md NOTICE.md
230761
%files test -f istack-commons/.mfiles-istack-commons-test
230761
%license LICENSE.md NOTICE.md
230761
%files tools -f istack-commons/.mfiles-istack-commons-tools
230761
%license LICENSE.md NOTICE.md
230761
230761
%changelog
230761
* Tue Jan 17 2023 Marian Koncek <mkoncek@redhat.com> - 4.1.1-1
230761
- Initial build