import jaxb-api4-4.0.0-2.module+el8.8.0+18042+89a504d5

This commit is contained in:
CentOS Sources 2023-02-18 01:16:03 +00:00 committed by Stepan Oksanichenko
commit 7a84094205
3 changed files with 59 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
SOURCES/jaxb-api-4.0.0.tar.gz

1
.jaxb-api4.metadata Normal file
View File

@ -0,0 +1 @@
6df19ff85cedba43f56e46fce38ce2c5f896b646 SOURCES/jaxb-api-4.0.0.tar.gz

57
SPECS/jaxb-api4.spec Normal file
View File

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