Blame SPECS/jaxb-api4.spec

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