202832
%bcond_with bootstrap
202832
202832
Name:           cdi-api
202832
Version:        2.0.2
202832
Release:        5%{?dist}
202832
Summary:        CDI API
202832
License:        ASL 2.0
202832
URL:            https://github.com/eclipse-ee4j/cdi
202832
BuildArch:      noarch
202832
202832
Source0:        https://github.com/eclipse-ee4j/cdi/archive/%{version}.tar.gz
202832
202832
Patch1:         0001-Remove-dependency-on-glassfish-el.patch
202832
202832
BuildRequires:  maven-local
202832
%if %{with bootstrap}
202832
BuildRequires:  javapackages-bootstrap
202832
%else
202832
BuildRequires:  %{?module_prefix}mvn(jakarta.inject:jakarta.inject-api)
202832
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
202832
%endif
202832
202832
%description
202832
APIs for JSR-299: Contexts and Dependency Injection for Java EE
202832
202832
%{?javadoc_package}
202832
202832
%prep
202832
%setup -q -n cdi-%{version}
202832
202832
%pom_remove_parent
202832
%pom_remove_parent api
202832
%pom_disable_module spec
202832
%pom_remove_plugin -r :maven-javadoc-plugin
202832
202832
%pom_remove_dep :jakarta.el-api api
202832
%pom_remove_dep :jakarta.interceptor-api api
202832
rm -rf api/src/main/java/javax/enterprise/{context/,inject/spi/,inject/se/,inject/Model.java,inject/New.java}
202832
202832
%mvn_alias :jakarta.enterprise.cdi-api javax.enterprise:cdi-api
202832
202832
%build
202832
%mvn_build -f
202832
202832
%install
202832
%mvn_install
202832
202832
%files -f .mfiles
202832
%doc README.md
202832
%license LICENSE.txt
202832
202832
%changelog
202832
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.2-5
202832
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
202832
  Related: rhbz#1991688
202832
202832
* Wed Jun 09 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0.2-4
202832
- Rebuild to workaround DistroBaker issue
202832
202832
* Tue Jun 08 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0.2-3
202832
- Bootstrap Maven for CentOS Stream 9
202832
202832
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0.2-2
202832
- Bootstrap build
202832
- Non-bootstrap build
202832
202832
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-2
202832
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
202832
202832
* Sun Aug 23 2020 Fabio Valentini <decathorpe@gmail.com> - 2.0-1
202832
- Update to version 2.0.
202832
202832
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-14
202832
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
202832
202832
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 1.2-13
202832
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
202832
202832
* Sat May 16 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0.2-1
202832
- Update to upstream version 2.0.2
202832
202832
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-12
202832
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
202832
202832
* Sat Jan 25 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0.1-3
202832
- Build with OpenJDK 8
202832
202832
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0.1-2
202832
- Mass rebuild for javapackages-tools 201902
202832
202832
* Wed Sep 18 2019 Marian Koncek <mkoncek@redhat.com> - 2.0.1-1
202832
- Update to upstream version 2.0.1
202832
202832
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-11
202832
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
202832
202832
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2-9
202832
- Mass rebuild for javapackages-tools 201901
202832
202832
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-10
202832
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
202832
202832
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-9
202832
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
202832
202832
* Wed Apr 18 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2-8
202832
- Remove javax.enterprise.inject directory and provides
202832
202832
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-7
202832
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
202832
202832
* Sat Sep 23 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2-6
202832
- Conditionally allow building without asciidoc
202832
202832
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-5
202832
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
202832
202832
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-4
202832
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
202832
202832
* Thu Jun 16 2016 gil cattaneo <puntogil@libero.it> 1.2-3
202832
- add missing build requires: pygmentize
202832
202832
* Thu Jun 16 2016 gil cattaneo <puntogil@libero.it> 1.2-2
202832
- add missing build requires
202832
202832
* Mon Jun 06 2016 gil cattaneo <puntogil@libero.it> 1.2-1
202832
- Upstream release 1.2
202832
202832
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-13
202832
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
202832
202832
* Wed Oct 28 2015 Mat Booth <mat.booth@redhat.com> - 1.1-12
202832
- Fix FTBFS due to enforcer plugin failure
202832
202832
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-11
202832
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
202832
202832
* Wed May 20 2015 gil cattaneo <puntogil@libero.it> 1.1-10
202832
- rebuilt for upgrade el apis gid:aid (rhbz#1223468)
202832
- adapt to current guideline
202832
- use mvn()-like BRs
202832
- fix rpmlint problem in changelog entries
202832
202832
* Tue Mar 24 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-9
202832
- Fix interceptors symlink
202832
202832
* Mon Mar 23 2015 Marek Goldmann <mgoldman@redhat.com> - 1.1-8
202832
- Switch to interceptors 1.2
202832
202832
* Mon Nov 17 2014 Alexander Kurtakov <akurtako@redhat.com> 1.1-7
202832
- Rebuild to fix broken symlink to jboss-interceptors.
202832
202832
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-6
202832
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
202832
202832
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 1.1-5
202832
- Use Requires: java-headless rebuild (#1067528)
202832
202832
* Tue Aug 13 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.1-4
202832
- Add javax.enterprise.inject provides and directory
202832
202832
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-3
202832
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
202832
202832
* Tue Jul 23 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-2
202832
- Generate OSGi metadata
202832
- Resolves: rhbz#987111
202832
202832
* Thu Jul 04 2013 Marek Goldmann <mgoldman@redhat.com> - 1.1-1
202832
- Upstream release 1.1
202832
- New guidelines
202832
202832
* Sat Mar 02 2013 Mat Booth <fedora@matbooth.co.uk> - 1.0-9.SP4
202832
- Add missing BR, fixes FTBFS rhbz #913916
202832
202832
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-8.SP4
202832
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
202832
202832
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.0-7.SP4
202832
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
202832
- Replace maven BuildRequires with maven-local
202832
202832
* Tue Dec 04 2012 Marek Goldmann <mgoldman@redhat.com> - 1.0-6.SP4
202832
- Added missing BR
202832
202832
* Tue Dec 04 2012 Marek Goldmann <mgoldman@redhat.com> - 1.0-5.SP4
202832
- Added missing BR/R
202832
- Simplified the spec file
202832
- Removed unnecessary patch
202832
202832
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4.SP4
202832
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
202832
202832
* Sun Mar 25 2012 Asaf Shakarchi <asaf@redhat.com> 1.0-3.SP4
202832
- Fixed changelog versions.
202832
202832
* Fri Mar 16 2012 Asaf Shakarchi <asaf@redhat.com> 1.0-2.SP4
202832
- Added required dependencies, modified patches and cleaned spec.
202832
202832
* Mon Feb 20 2012 Marek Goldmann <mgoldman@redhat.com> 1.0-1.SP4
202832
- Initial packaging