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