Blame SPECS/jaxb-api4.spec

bc43be
Name:           jaxb-api4
bc43be
Version:        4.0.0
bc43be
Release:        2%{?dist}
bc43be
Summary:        Jakarta XML Binding API
bc43be
License:        BSD
bc43be
URL:            https://github.com/eclipse-ee4j/jaxb-api
bc43be
BuildArch:      noarch
bc43be
bc43be
Source0:        %{url}/archive/%{version}/jaxb-api-%{version}.tar.gz
bc43be
bc43be
BuildRequires:  maven-local
bc43be
BuildRequires:  mvn(jakarta.activation:jakarta.activation-api:2.1.0)
bc43be
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
bc43be
BuildRequires:  mvn(org.codehaus.mojo:build-helper-maven-plugin)
bc43be
bc43be
%description
bc43be
The Jakarta XML Binding provides an API and tools that automate the mapping
bc43be
between XML documents and Java objects.
bc43be
bc43be
%package javadoc
bc43be
Summary:        Javadoc for %{name}
bc43be
bc43be
%description javadoc
bc43be
This package contains javadoc for %{name}.
bc43be
bc43be
%prep
bc43be
%setup -q -n jaxb-api-%{version}
bc43be
bc43be
find -name 'module-info.java' -type f -delete
bc43be
bc43be
# Remove unnecessary dependency on parent POM
bc43be
%pom_remove_parent
bc43be
bc43be
%pom_remove_plugin -r :buildnumber-maven-plugin
bc43be
%pom_remove_plugin -r :glassfish-copyright-maven-plugin
bc43be
%pom_remove_plugin -r :maven-enforcer-plugin
bc43be
bc43be
%mvn_compat_version jakarta*: 4 %{version}
bc43be
bc43be
%build
bc43be
%mvn_build
bc43be
bc43be
%install
bc43be
%mvn_install
bc43be
bc43be
%files -f .mfiles
bc43be
%license LICENSE.md NOTICE.md
bc43be
bc43be
%files javadoc -f .mfiles-javadoc
bc43be
%license LICENSE.md NOTICE.md
bc43be
bc43be
%changelog
bc43be
* Tue Jan 31 2023 Marian Koncek <mkoncek@redhat.com> - 4.0.0-2
bc43be
- Add major compat version
bc43be
bc43be
* Tue Jan 17 2023 Marian Koncek <mkoncek@redhat.com> - 4.0.0-1
bc43be
- Initial build