Blame SPECS/jaxb-istack-commons.spec

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