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