675334
Name:             cdi-api
675334
Version:          2.0.1
675334
Release:          2%{?dist}
675334
Summary:          CDI API
675334
License:          ASL 2.0
675334
URL:              http://seamframework.org/Weld
675334
BuildArch:        noarch
675334
675334
Source0:          https://github.com/cdi-spec/cdi/archive/%{version}.tar.gz
675334
675334
Patch1:           0001-Remove-dependency-on-glassfish-el.patch
675334
675334
BuildRequires:    maven-local
675334
BuildRequires:    %{?module_prefix}mvn(javax.inject:javax.inject)
675334
BuildRequires:    mvn(org.apache.felix:maven-bundle-plugin)
675334
BuildRequires:    mvn(org.apache.maven.plugins:maven-enforcer-plugin)
675334
BuildRequires:    mvn(org.apache.maven.surefire:surefire-testng)
675334
BuildRequires:    mvn(org.codehaus.mojo:build-helper-maven-plugin)
675334
BuildRequires:    mvn(org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.2_spec)
675334
BuildRequires:    mvn(org.jboss.weld:weld-parent:pom:)
675334
BuildRequires:    mvn(org.testng:testng::jdk15:)
675334
675334
%description
675334
APIs for JSR-299: Contexts and Dependency Injection for Java EE
675334
675334
%{?module_package}
675334
%{?javadoc_package}
675334
675334
%prep
675334
%setup -q -n cdi-%{version}/api
675334
675334
%patch1 -p2
675334
675334
# J2EE API directory
675334
%mvn_file :{cdi-api} %{name}/@1 javax.enterprise.inject/@1
675334
675334
%pom_remove_dep :jakarta.el-api
675334
675334
# Use newer version of interceptors API
675334
%pom_change_dep :jakarta.interceptor-api org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.2_spec::provided
675334
675334
# Fix failing tests
675334
%pom_xpath_remove 'pom:configuration/pom:argLine'
675334
675334
%mvn_alias jakarta.enterprise:jakarta.enterprise.cdi-api javax.enterprise:cdi-api
675334
675334
%build
675334
%mvn_build -- -Denforcer.skip
675334
675334
%install
675334
%mvn_install
675334
675334
%files -n %{?module_prefix}%{name} -f .mfiles
675334
%doc ../spec/src/main/asciidoc/cdi-spec.asciidoc
675334
%license ../spec/src/main/asciidoc/license-asl2.asciidoc
675334
%license ../spec/src/main/asciidoc/license-jcp-final.asciidoc
675334
675334
%changelog
675334
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0.1-2
675334
- Mass rebuild for javapackages-tools 201902
675334
675334
* Wed Sep 18 2019 Marian Koncek <mkoncek@redhat.com> - 2.0.1-1
675334
- Update to upstream version 2.0.1
675334
675334
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2-9
675334
- Mass rebuild for javapackages-tools 201901
675334
675334
* Wed Apr 18 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2-8
675334
- Remove javax.enterprise.inject directory and provides
675334
675334
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-7
675334
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
675334
675334
* Sat Sep 23 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2-6
675334
- Conditionally allow building without asciidoc
675334
675334
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-5
675334
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
675334
675334
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-4
675334
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
675334
675334
* Thu Jun 16 2016 gil cattaneo <puntogil@libero.it> 1.2-3
675334
- add missing build requires: pygmentize
675334
675334
* Thu Jun 16 2016 gil cattaneo <puntogil@libero.it> 1.2-2
675334
- add missing build requires
675334
675334
* Mon Jun 06 2016 gil cattaneo <puntogil@libero.it> 1.2-1
675334
- Upstream release 1.2
675334
675334
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-13
675334
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
675334
675334
* Wed Oct 28 2015 Mat Booth <mat.booth@redhat.com> - 1.1-12
675334
- Fix FTBFS due to enforcer plugin failure
675334
675334
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-11
675334
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
675334
675334
* Wed May 20 2015 gil cattaneo <puntogil@libero.it> 1.1-10
675334
- rebuilt for upgrade el apis gid:aid (rhbz#1223468)
675334
- adapt to current guideline
675334
- use mvn()-like BRs
675334
- fix rpmlint problem in changelog entries
675334
675334
* Tue Mar 24 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-9
675334
- Fix interceptors symlink
675334
675334
* Mon Mar 23 2015 Marek Goldmann <mgoldman@redhat.com> - 1.1-8
675334
- Switch to interceptors 1.2
675334
675334
* Mon Nov 17 2014 Alexander Kurtakov <akurtako@redhat.com> 1.1-7
675334
- Rebuild to fix broken symlink to jboss-interceptors.
675334
675334
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-6
675334
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
675334
675334
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 1.1-5
675334
- Use Requires: java-headless rebuild (#1067528)
675334
675334
* Tue Aug 13 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.1-4
675334
- Add javax.enterprise.inject provides and directory
675334
675334
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-3
675334
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
675334
675334
* Tue Jul 23 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-2
675334
- Generate OSGi metadata
675334
- Resolves: rhbz#987111
675334
675334
* Thu Jul 04 2013 Marek Goldmann <mgoldman@redhat.com> - 1.1-1
675334
- Upstream release 1.1
675334
- New guidelines
675334
675334
* Sat Mar 02 2013 Mat Booth <fedora@matbooth.co.uk> - 1.0-9.SP4
675334
- Add missing BR, fixes FTBFS rhbz #913916
675334
675334
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-8.SP4
675334
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
675334
675334
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.0-7.SP4
675334
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
675334
- Replace maven BuildRequires with maven-local
675334
675334
* Tue Dec 04 2012 Marek Goldmann <mgoldman@redhat.com> - 1.0-6.SP4
675334
- Added missing BR
675334
675334
* Tue Dec 04 2012 Marek Goldmann <mgoldman@redhat.com> - 1.0-5.SP4
675334
- Added missing BR/R
675334
- Simplified the spec file
675334
- Removed unnecessary patch
675334
675334
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4.SP4
675334
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
675334
675334
* Sun Mar 25 2012 Asaf Shakarchi <asaf@redhat.com> 1.0-3.SP4
675334
- Fixed changelog versions.
675334
675334
* Fri Mar 16 2012 Asaf Shakarchi <asaf@redhat.com> 1.0-2.SP4
675334
- Added required dependencies, modified patches and cleaned spec.
675334
675334
* Mon Feb 20 2012 Marek Goldmann <mgoldman@redhat.com> 1.0-1.SP4
675334
- Initial packaging