b402af
%bcond_with bootstrap
b402af
b402af
Name:           jakarta-annotations
b402af
Version:        1.3.5
e886b5
Release:        13%{?dist}
b402af
Summary:        Jakarta Annotations
b402af
License:        EPL-2.0 or GPLv2 with exceptions
b402af
URL:            https://github.com/eclipse-ee4j/common-annotations-api
b402af
BuildArch:      noarch
b402af
b402af
Source0:        https://github.com/eclipse-ee4j/common-annotations-api/archive/%{version}/common-annotations-api-%{version}.tar.gz
b402af
b402af
BuildRequires:  maven-local
b402af
%if %{with bootstrap}
b402af
BuildRequires:  javapackages-bootstrap
b402af
%else
b402af
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
b402af
BuildRequires:  mvn(org.codehaus.mojo:build-helper-maven-plugin)
b402af
%endif
b402af
b402af
Provides:       glassfish-annotation-api = %{version}-%{release}
b402af
b402af
%description
b402af
Jakarta Annotations defines a collection of annotations representing
b402af
common semantic concepts that enable a declarative style of programming
b402af
that applies across a variety of Java technologies.
b402af
b402af
%{?javadoc_package}
b402af
b402af
%prep
b402af
%setup -q -n common-annotations-api-%{version}
b402af
b402af
# remove unnecessary dependency on parent POM
b402af
# org.eclipse.ee4j:project is not packaged and isn't needed
b402af
%pom_remove_parent
b402af
b402af
# disable spec submodule: it's not needed, and
b402af
# it has missing dependencies (jruby, asciidoctor-maven-plugin, ...)
b402af
%pom_disable_module spec
b402af
b402af
# remove plugins not needed for RPM builds
b402af
%pom_remove_plugin :maven-javadoc-plugin api
b402af
%pom_remove_plugin :maven-source-plugin api
b402af
%pom_remove_plugin :findbugs-maven-plugin api
b402af
%pom_remove_plugin :spec-version-maven-plugin api
b402af
b402af
# provide aliases for the old artifact coordinates
b402af
%mvn_alias jakarta.annotation:jakarta.annotation-api \
b402af
  javax.annotation:javax.annotation-api \
b402af
  javax.annotation:jsr250-api
b402af
b402af
%build
b402af
%mvn_build
b402af
b402af
%install
b402af
%mvn_install
b402af
b402af
%files -f .mfiles
b402af
%license LICENSE.md NOTICE.md
b402af
%doc README.md
b402af
b402af
%changelog
e886b5
* Mon Jan 30 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3.5-13
e886b5
- Rebuild to regenerate auto-requires
e886b5
b402af
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.3.5-12
b402af
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
b402af
  Related: rhbz#1991688
b402af
b402af
* Wed Jun 09 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3.5-11
b402af
- Rebuild to workaround DistroBaker issue
b402af
b402af
* Tue Jun 08 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3.5-10
b402af
- Bootstrap Maven for CentOS Stream 9
b402af
b402af
* Wed May 26 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3.5-9
b402af
- Re-add provides on glassfish-annotation-api
b402af
b402af
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3.5-8
b402af
- Bootstrap build
b402af
- Non-bootstrap build
b402af
b402af
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-7
b402af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
b402af
b402af
* Thu Aug 13 2020 Jerry James <loganjerry@gmail.com> - 1.3.5-6
b402af
- Remove duplicate aliases
b402af
b402af
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-5
b402af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
b402af
b402af
* Thu Jun 25 2020 Alexander Kurtakov <akurtako@redhat.com> 1.3.5-4
b402af
- Add alias for jsr250-api
b402af
b402af
* Fri Jun 19 2020 Mat Booth <mat.booth@redhat.com> - 1.3.5-3
b402af
- Remove uneeded plugin invokations
b402af
b402af
* Mon May 11 2020 Fabio Valentini <decathorpe@gmail.com> - 1.3.5-2
b402af
- Fix typo in obsoleted package name.
b402af
b402af
* Fri May 08 2020 Fabio Valentini <decathorpe@gmail.com> - 1.3.5-1
b402af
- Initial package renamed from glassfish-annotation-api.