2024-08-01 17:33:43 +00:00
|
|
|
%bcond_without bootstrap
|
2021-05-17 07:04:05 +00:00
|
|
|
|
2020-05-10 08:37:38 +00:00
|
|
|
Name: jakarta-annotations
|
|
|
|
Version: 1.3.5
|
2024-08-01 17:33:43 +00:00
|
|
|
Release: 22%{?dist}
|
2020-05-10 08:37:38 +00:00
|
|
|
Summary: Jakarta Annotations
|
2023-09-01 12:48:50 +00:00
|
|
|
License: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
2020-05-10 08:37:38 +00:00
|
|
|
URL: https://github.com/eclipse-ee4j/common-annotations-api
|
|
|
|
BuildArch: noarch
|
2022-05-12 20:33:24 +00:00
|
|
|
ExclusiveArch: %{java_arches} noarch
|
2020-05-10 08:37:38 +00:00
|
|
|
|
2021-05-17 06:54:02 +00:00
|
|
|
Source0: https://github.com/eclipse-ee4j/common-annotations-api/archive/%{version}/common-annotations-api-%{version}.tar.gz
|
|
|
|
|
2021-05-17 07:04:05 +00:00
|
|
|
%if %{with bootstrap}
|
|
|
|
BuildRequires: javapackages-bootstrap
|
|
|
|
%else
|
2022-06-14 06:03:17 +00:00
|
|
|
BuildRequires: maven-local
|
2020-05-10 08:37:38 +00:00
|
|
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
|
|
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
2021-05-17 07:04:05 +00:00
|
|
|
%endif
|
2020-05-10 08:37:38 +00:00
|
|
|
|
2021-05-26 06:07:24 +00:00
|
|
|
Provides: glassfish-annotation-api = %{version}-%{release}
|
|
|
|
|
2020-05-10 08:37:38 +00:00
|
|
|
%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-05-17 06:54:02 +00:00
|
|
|
%{?javadoc_package}
|
2020-05-10 08:37:38 +00:00
|
|
|
|
|
|
|
%prep
|
2021-05-17 06:54:02 +00:00
|
|
|
%setup -q -n common-annotations-api-%{version}
|
2020-05-10 08:37:38 +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
|
|
|
|
|
2020-06-19 15:17:58 +00:00
|
|
|
# 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-08-13 10:02:31 +00:00
|
|
|
|
|
|
|
# Remove use of spec-version-maven-plugin
|
2021-05-17 07:13:14 +00:00
|
|
|
%pom_remove_plugin :spec-version-maven-plugin api
|
2021-08-13 10:02:31 +00:00
|
|
|
%pom_xpath_set pom:Bundle-Version '${project.version}' api
|
|
|
|
%pom_xpath_set pom:Bundle-SymbolicName '${project.artifactId}' api
|
|
|
|
%pom_xpath_set pom:Extension-Name '${extension.name}' api
|
|
|
|
%pom_xpath_set pom:Implementation-Version '${project.version}' api
|
|
|
|
%pom_xpath_set pom:Specification-Version '${spec.version}' api
|
2020-06-19 15:17:58 +00:00
|
|
|
|
2020-05-10 08:37:38 +00:00
|
|
|
# provide aliases for the old artifact coordinates
|
2020-08-13 20:39:05 +00:00
|
|
|
%mvn_alias jakarta.annotation:jakarta.annotation-api \
|
|
|
|
javax.annotation:javax.annotation-api \
|
|
|
|
javax.annotation:jsr250-api
|
2020-05-10 08:37:38 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%mvn_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%mvn_install
|
|
|
|
|
|
|
|
%files -f .mfiles
|
|
|
|
%license LICENSE.md NOTICE.md
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%changelog
|
2024-08-01 17:33:43 +00:00
|
|
|
* Thu Aug 01 2024 Troy Dawson <tdawson@redhat.com> - 1.3.5-22
|
|
|
|
- Bump release for Aug 2024 java mass rebuild
|
|
|
|
|
2024-06-24 15:52:12 +00:00
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.3.5-21
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
2024-01-24 23:06:00 +00:00
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-20
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2024-01-20 23:26:04 +00:00
|
|
|
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-19
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2023-09-20 16:07:17 +00:00
|
|
|
* Wed Sep 20 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3.5-18
|
|
|
|
- Rebuild to regenerate auto-Requires on java
|
|
|
|
|
2023-09-01 12:48:50 +00:00
|
|
|
* Fri Sep 01 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3.5-17
|
|
|
|
- Convert License tag to SPDX format
|
|
|
|
|
2023-07-20 07:47:50 +00:00
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-01-19 13:31:03 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-21 15:01:57 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-02-05 20:09:11 +00:00
|
|
|
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1.3.5-13
|
|
|
|
- Rebuilt for java-17-openjdk as system jdk
|
|
|
|
|
2022-01-20 13:36:20 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-08-13 10:02:31 +00:00
|
|
|
* Fri Aug 13 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3.5-11
|
|
|
|
- Fix bundle manifest
|
|
|
|
|
2021-07-22 08:53:15 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-05-26 06:07:24 +00:00
|
|
|
* Wed May 26 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3.5-9
|
|
|
|
- Re-add provides on glassfish-annotation-api
|
|
|
|
|
2021-05-17 13:49:48 +00:00
|
|
|
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3.5-8
|
|
|
|
- Bootstrap build
|
2021-05-17 16:01:43 +00:00
|
|
|
- Non-bootstrap build
|
2021-05-17 13:49:48 +00:00
|
|
|
|
2021-01-26 14:38:41 +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-08-13 20:39:05 +00:00
|
|
|
* Thu Aug 13 2020 Jerry James <loganjerry@gmail.com> - 1.3.5-6
|
|
|
|
- Remove duplicate aliases
|
|
|
|
|
2020-07-28 02:07:59 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-06-25 16:38:08 +00:00
|
|
|
* Thu Jun 25 2020 Alexander Kurtakov <akurtako@redhat.com> 1.3.5-4
|
|
|
|
- Add alias for jsr250-api
|
|
|
|
|
2020-06-19 15:17:58 +00:00
|
|
|
* Fri Jun 19 2020 Mat Booth <mat.booth@redhat.com> - 1.3.5-3
|
|
|
|
- Remove uneeded plugin invokations
|
|
|
|
|
2020-05-11 20:59:16 +00:00
|
|
|
* Mon May 11 2020 Fabio Valentini <decathorpe@gmail.com> - 1.3.5-2
|
|
|
|
- Fix typo in obsoleted package name.
|
|
|
|
|
2020-05-10 08:37:38 +00:00
|
|
|
* Fri May 08 2020 Fabio Valentini <decathorpe@gmail.com> - 1.3.5-1
|
|
|
|
- Initial package renamed from glassfish-annotation-api.
|