Blame SPECS/jaxb-istack-commons.spec

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