2024-08-05 18:45:33 +00:00
|
|
|
%bcond_with bootstrap
|
2020-08-23 14:02:41 +00:00
|
|
|
|
|
|
|
Name: cdi-api
|
2020-05-16 13:45:20 +00:00
|
|
|
Version: 2.0.2
|
2024-08-01 17:33:38 +00:00
|
|
|
Release: 14%{?dist}
|
2020-05-16 13:45:20 +00:00
|
|
|
Summary: CDI API
|
2023-09-01 11:20:31 +00:00
|
|
|
License: Apache-2.0
|
2020-08-23 14:02:41 +00:00
|
|
|
URL: https://github.com/eclipse-ee4j/cdi
|
|
|
|
BuildArch: noarch
|
2022-05-12 20:33:24 +00:00
|
|
|
ExclusiveArch: %{java_arches} noarch
|
2020-08-23 14:02:41 +00:00
|
|
|
|
2020-05-16 13:45:20 +00:00
|
|
|
Source0: https://github.com/eclipse-ee4j/cdi/archive/%{version}.tar.gz
|
|
|
|
|
2021-04-16 13:33:12 +00:00
|
|
|
%if %{with bootstrap}
|
|
|
|
BuildRequires: javapackages-bootstrap
|
|
|
|
%else
|
2022-06-14 06:03:17 +00:00
|
|
|
BuildRequires: maven-local
|
2023-12-13 05:10:38 +00:00
|
|
|
BuildRequires: mvn(jakarta.inject:jakarta.inject-api)
|
2020-08-23 14:02:41 +00:00
|
|
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
2021-04-16 13:33:12 +00:00
|
|
|
%endif
|
2012-03-26 18:03:37 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
APIs for JSR-299: Contexts and Dependency Injection for Java EE
|
|
|
|
|
2019-06-28 09:36:23 +00:00
|
|
|
%{?javadoc_package}
|
2020-08-23 14:02:41 +00:00
|
|
|
|
2012-03-26 18:03:37 +00:00
|
|
|
%prep
|
2020-05-16 13:45:20 +00:00
|
|
|
%setup -q -n cdi-%{version}
|
2012-03-26 18:03:37 +00:00
|
|
|
|
2020-05-16 13:45:20 +00:00
|
|
|
%pom_remove_parent
|
|
|
|
%pom_remove_parent api
|
2020-08-23 14:02:41 +00:00
|
|
|
%pom_disable_module spec
|
2020-05-16 13:45:20 +00:00
|
|
|
%pom_remove_plugin -r :maven-javadoc-plugin
|
2020-08-23 14:02:41 +00:00
|
|
|
|
2020-05-16 13:45:20 +00:00
|
|
|
%pom_remove_dep :jakarta.el-api api
|
|
|
|
%pom_remove_dep :jakarta.interceptor-api api
|
|
|
|
rm -rf api/src/main/java/javax/enterprise/{context/,inject/spi/,inject/se/,inject/Model.java,inject/New.java}
|
2013-08-13 09:28:31 +00:00
|
|
|
|
2020-05-16 13:45:20 +00:00
|
|
|
%mvn_alias :jakarta.enterprise.cdi-api javax.enterprise:cdi-api
|
2015-03-23 10:02:35 +00:00
|
|
|
|
2012-03-26 18:03:37 +00:00
|
|
|
%build
|
2020-05-16 13:45:20 +00:00
|
|
|
%mvn_build -f
|
2012-03-26 18:03:37 +00:00
|
|
|
|
|
|
|
%install
|
2013-07-04 12:53:44 +00:00
|
|
|
%mvn_install
|
2012-03-26 18:03:37 +00:00
|
|
|
|
2020-08-23 14:02:41 +00:00
|
|
|
%files -f .mfiles
|
2020-05-16 13:45:20 +00:00
|
|
|
%doc README.md
|
|
|
|
%license LICENSE.txt
|
2012-03-26 18:03:37 +00:00
|
|
|
|
|
|
|
%changelog
|
2024-08-01 17:33:38 +00:00
|
|
|
* Thu Aug 01 2024 Troy Dawson <tdawson@redhat.com> - 2.0.2-14
|
|
|
|
- Bump release for Aug 2024 java mass rebuild
|
|
|
|
|
2024-06-24 15:38:00 +00:00
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.0.2-13
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
2024-01-23 01:22:16 +00:00
|
|
|
* Tue Jan 23 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2024-01-19 15:12:11 +00:00
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-11
|
|
|
|
- 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> - 2.0.2-10
|
|
|
|
- Rebuild to regenerate auto-Requires on java
|
|
|
|
|
2023-09-01 11:20:31 +00:00
|
|
|
* Fri Sep 01 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0.2-9
|
|
|
|
- Convert License tag to SPDX format
|
|
|
|
|
2023-07-19 15:26:01 +00:00
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-01-18 23:38:37 +00:00
|
|
|
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-20 22:42:48 +00:00
|
|
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-02-05 18:53:58 +00:00
|
|
|
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 2.0.2-5
|
|
|
|
- Rebuilt for java-17-openjdk as system jdk
|
|
|
|
|
2022-01-19 23:01:16 +00:00
|
|
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-21 19:16:31 +00:00
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-05-17 13:49:38 +00:00
|
|
|
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0.2-2
|
|
|
|
- Bootstrap build
|
2021-05-17 16:01:42 +00:00
|
|
|
- Non-bootstrap build
|
2021-05-17 13:49:38 +00:00
|
|
|
|
2021-01-26 01:47:10 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-08-23 14:02:41 +00:00
|
|
|
* Sun Aug 23 2020 Fabio Valentini <decathorpe@gmail.com> - 2.0-1
|
|
|
|
- Update to version 2.0.
|
|
|
|
|
2020-07-27 13:47:05 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-10 15:17:59 +00:00
|
|
|
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 1.2-13
|
|
|
|
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
|
|
|
|
2020-05-16 13:45:20 +00:00
|
|
|
* Sat May 16 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0.2-1
|
|
|
|
- Update to upstream version 2.0.2
|
|
|
|
|
2020-01-28 13:48:23 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2020-01-25 13:40:08 +00:00
|
|
|
* Sat Jan 25 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0.1-3
|
|
|
|
- Build with OpenJDK 8
|
|
|
|
|
2019-11-05 16:29:27 +00:00
|
|
|
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0.1-2
|
|
|
|
- Mass rebuild for javapackages-tools 201902
|
|
|
|
|
2019-09-18 15:09:12 +00:00
|
|
|
* Wed Sep 18 2019 Marian Koncek <mkoncek@redhat.com> - 2.0.1-1
|
|
|
|
- Update to upstream version 2.0.1
|
|
|
|
|
2019-07-24 20:02:38 +00:00
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-05-24 15:00:28 +00:00
|
|
|
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2-9
|
|
|
|
- Mass rebuild for javapackages-tools 201901
|
|
|
|
|
2019-01-31 15:23:02 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-12 21:38:46 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-04-18 08:27:32 +00:00
|
|
|
* Wed Apr 18 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2-8
|
|
|
|
- Remove javax.enterprise.inject directory and provides
|
|
|
|
|
2018-02-07 04:40:45 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-09-23 09:37:11 +00:00
|
|
|
* Sat Sep 23 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2-6
|
|
|
|
- Conditionally allow building without asciidoc
|
|
|
|
|
2017-07-26 04:37:12 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-10 07:21:41 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-06-16 16:07:45 +00:00
|
|
|
* Thu Jun 16 2016 gil cattaneo <puntogil@libero.it> 1.2-3
|
|
|
|
- add missing build requires: pygmentize
|
|
|
|
|
2016-06-16 15:51:35 +00:00
|
|
|
* Thu Jun 16 2016 gil cattaneo <puntogil@libero.it> 1.2-2
|
|
|
|
- add missing build requires
|
|
|
|
|
2016-06-06 15:25:40 +00:00
|
|
|
* Mon Jun 06 2016 gil cattaneo <puntogil@libero.it> 1.2-1
|
|
|
|
- Upstream release 1.2
|
|
|
|
|
2016-02-03 17:30:42 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-10-28 19:12:36 +00:00
|
|
|
* Wed Oct 28 2015 Mat Booth <mat.booth@redhat.com> - 1.1-12
|
|
|
|
- Fix FTBFS due to enforcer plugin failure
|
|
|
|
|
2015-06-17 02:26:31 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-05-29 14:37:51 +00:00
|
|
|
* Wed May 20 2015 gil cattaneo <puntogil@libero.it> 1.1-10
|
|
|
|
- rebuilt for upgrade el apis gid:aid (rhbz#1223468)
|
|
|
|
- adapt to current guideline
|
|
|
|
- use mvn()-like BRs
|
|
|
|
- fix rpmlint problem in changelog entries
|
|
|
|
|
2015-03-24 13:18:33 +00:00
|
|
|
* Tue Mar 24 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-9
|
|
|
|
- Fix interceptors symlink
|
|
|
|
|
2015-03-23 10:02:35 +00:00
|
|
|
* Mon Mar 23 2015 Marek Goldmann <mgoldman@redhat.com> - 1.1-8
|
|
|
|
- Switch to interceptors 1.2
|
|
|
|
|
2014-11-17 17:23:45 +00:00
|
|
|
* Mon Nov 17 2014 Alexander Kurtakov <akurtako@redhat.com> 1.1-7
|
|
|
|
- Rebuild to fix broken symlink to jboss-interceptors.
|
|
|
|
|
2014-06-07 04:18:59 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-03-28 12:01:46 +00:00
|
|
|
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 1.1-5
|
|
|
|
- Use Requires: java-headless rebuild (#1067528)
|
|
|
|
|
2013-08-13 09:28:31 +00:00
|
|
|
* Tue Aug 13 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.1-4
|
|
|
|
- Add javax.enterprise.inject provides and directory
|
|
|
|
|
2013-08-03 04:31:39 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-23 05:05:12 +00:00
|
|
|
* Tue Jul 23 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-2
|
|
|
|
- Generate OSGi metadata
|
|
|
|
- Resolves: rhbz#987111
|
|
|
|
|
2013-07-04 12:53:44 +00:00
|
|
|
* Thu Jul 04 2013 Marek Goldmann <mgoldman@redhat.com> - 1.1-1
|
|
|
|
- Upstream release 1.1
|
|
|
|
- New guidelines
|
|
|
|
|
2013-03-02 18:55:32 +00:00
|
|
|
* Sat Mar 02 2013 Mat Booth <fedora@matbooth.co.uk> - 1.0-9.SP4
|
|
|
|
- Add missing BR, fixes FTBFS rhbz #913916
|
|
|
|
|
2013-02-13 18:19:12 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-8.SP4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2013-02-06 18:38:56 +00:00
|
|
|
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.0-7.SP4
|
|
|
|
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
|
- Replace maven BuildRequires with maven-local
|
|
|
|
|
2012-12-04 11:19:41 +00:00
|
|
|
* Tue Dec 04 2012 Marek Goldmann <mgoldman@redhat.com> - 1.0-6.SP4
|
|
|
|
- Added missing BR
|
|
|
|
|
2012-12-04 10:50:23 +00:00
|
|
|
* Tue Dec 04 2012 Marek Goldmann <mgoldman@redhat.com> - 1.0-5.SP4
|
|
|
|
- Added missing BR/R
|
|
|
|
- Simplified the spec file
|
|
|
|
- Removed unnecessary patch
|
|
|
|
|
2012-07-18 18:43:04 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4.SP4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-03-26 18:03:37 +00:00
|
|
|
* Sun Mar 25 2012 Asaf Shakarchi <asaf@redhat.com> 1.0-3.SP4
|
|
|
|
- Fixed changelog versions.
|
|
|
|
|
2015-05-29 14:37:51 +00:00
|
|
|
* Fri Mar 16 2012 Asaf Shakarchi <asaf@redhat.com> 1.0-2.SP4
|
2012-03-26 18:03:37 +00:00
|
|
|
- Added required dependencies, modified patches and cleaned spec.
|
|
|
|
|
|
|
|
* Mon Feb 20 2012 Marek Goldmann <mgoldman@redhat.com> 1.0-1.SP4
|
|
|
|
- Initial packaging
|