|
|
549359 |
%bcond_with bootstrap
|
|
|
549359 |
|
|
|
549359 |
Name: jakarta-annotations
|
|
|
549359 |
Version: 1.3.5
|
|
|
549359 |
Release: 14%{?dist}
|
|
|
549359 |
Summary: Jakarta Annotations
|
|
|
549359 |
License: EPL-2.0 or GPLv2 with exceptions
|
|
|
549359 |
URL: https://github.com/eclipse-ee4j/common-annotations-api
|
|
|
549359 |
BuildArch: noarch
|
|
|
549359 |
ExclusiveArch: %{java_arches} noarch
|
|
|
549359 |
|
|
|
549359 |
Source0: https://github.com/eclipse-ee4j/common-annotations-api/archive/%{version}/common-annotations-api-%{version}.tar.gz
|
|
|
549359 |
|
|
|
549359 |
%if %{with bootstrap}
|
|
|
549359 |
BuildRequires: javapackages-bootstrap
|
|
|
549359 |
%else
|
|
|
549359 |
BuildRequires: maven-local
|
|
|
549359 |
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
|
549359 |
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
|
|
549359 |
%endif
|
|
|
549359 |
|
|
|
549359 |
Provides: glassfish-annotation-api = %{version}-%{release}
|
|
|
549359 |
|
|
|
549359 |
%description
|
|
|
549359 |
Jakarta Annotations defines a collection of annotations representing
|
|
|
549359 |
common semantic concepts that enable a declarative style of programming
|
|
|
549359 |
that applies across a variety of Java technologies.
|
|
|
549359 |
|
|
|
549359 |
%{?javadoc_package}
|
|
|
549359 |
|
|
|
549359 |
%prep
|
|
|
549359 |
%setup -q -n common-annotations-api-%{version}
|
|
|
549359 |
|
|
|
549359 |
# remove unnecessary dependency on parent POM
|
|
|
549359 |
# org.eclipse.ee4j:project is not packaged and isn't needed
|
|
|
549359 |
%pom_remove_parent
|
|
|
549359 |
|
|
|
549359 |
# disable spec submodule: it's not needed, and
|
|
|
549359 |
# it has missing dependencies (jruby, asciidoctor-maven-plugin, ...)
|
|
|
549359 |
%pom_disable_module spec
|
|
|
549359 |
|
|
|
549359 |
# remove plugins not needed for RPM builds
|
|
|
549359 |
%pom_remove_plugin :maven-javadoc-plugin api
|
|
|
549359 |
%pom_remove_plugin :maven-source-plugin api
|
|
|
549359 |
%pom_remove_plugin :findbugs-maven-plugin api
|
|
|
549359 |
|
|
|
549359 |
# Remove use of spec-version-maven-plugin
|
|
|
549359 |
%pom_remove_plugin :spec-version-maven-plugin api
|
|
|
549359 |
%pom_xpath_set pom:Bundle-Version '${project.version}' api
|
|
|
549359 |
%pom_xpath_set pom:Bundle-SymbolicName '${project.artifactId}' api
|
|
|
549359 |
%pom_xpath_set pom:Extension-Name '${extension.name}' api
|
|
|
549359 |
%pom_xpath_set pom:Implementation-Version '${project.version}' api
|
|
|
549359 |
%pom_xpath_set pom:Specification-Version '${spec.version}' api
|
|
|
549359 |
|
|
|
549359 |
# provide aliases for the old artifact coordinates
|
|
|
549359 |
%mvn_alias jakarta.annotation:jakarta.annotation-api \
|
|
|
549359 |
javax.annotation:javax.annotation-api \
|
|
|
549359 |
javax.annotation:jsr250-api
|
|
|
549359 |
|
|
|
549359 |
%build
|
|
|
549359 |
%mvn_build
|
|
|
549359 |
|
|
|
549359 |
%install
|
|
|
549359 |
%mvn_install
|
|
|
549359 |
|
|
|
549359 |
%files -f .mfiles
|
|
|
549359 |
%license LICENSE.md NOTICE.md
|
|
|
549359 |
%doc README.md
|
|
|
549359 |
|
|
|
549359 |
%changelog
|
|
|
549359 |
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-14
|
|
|
549359 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
549359 |
|
|
|
549359 |
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1.3.5-13
|
|
|
549359 |
- Rebuilt for java-17-openjdk as system jdk
|
|
|
549359 |
|
|
|
549359 |
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-12
|
|
|
549359 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
549359 |
|
|
|
549359 |
* Fri Aug 13 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3.5-11
|
|
|
549359 |
- Fix bundle manifest
|
|
|
549359 |
|
|
|
549359 |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-10
|
|
|
549359 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
549359 |
|
|
|
549359 |
* Wed May 26 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3.5-9
|
|
|
549359 |
- Re-add provides on glassfish-annotation-api
|
|
|
549359 |
|
|
|
549359 |
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3.5-8
|
|
|
549359 |
- Bootstrap build
|
|
|
549359 |
- Non-bootstrap build
|
|
|
549359 |
|
|
|
549359 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-7
|
|
|
549359 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
549359 |
|
|
|
549359 |
* Thu Aug 13 2020 Jerry James <loganjerry@gmail.com> - 1.3.5-6
|
|
|
549359 |
- Remove duplicate aliases
|
|
|
549359 |
|
|
|
549359 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-5
|
|
|
549359 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
549359 |
|
|
|
549359 |
* Thu Jun 25 2020 Alexander Kurtakov <akurtako@redhat.com> 1.3.5-4
|
|
|
549359 |
- Add alias for jsr250-api
|
|
|
549359 |
|
|
|
549359 |
* Fri Jun 19 2020 Mat Booth <mat.booth@redhat.com> - 1.3.5-3
|
|
|
549359 |
- Remove uneeded plugin invokations
|
|
|
549359 |
|
|
|
549359 |
* Mon May 11 2020 Fabio Valentini <decathorpe@gmail.com> - 1.3.5-2
|
|
|
549359 |
- Fix typo in obsoleted package name.
|
|
|
549359 |
|
|
|
549359 |
* Fri May 08 2020 Fabio Valentini <decathorpe@gmail.com> - 1.3.5-1
|
|
|
549359 |
- Initial package renamed from glassfish-annotation-api.
|