22c06f
%bcond_with bootstrap
22c06f
22c06f
Name:           atinject
22c06f
Version:        1.0.3
22c06f
Release:        5%{?dist}
22c06f
Summary:        Dependency injection specification for Java (JSR-330)
22c06f
License:        ASL 2.0
22c06f
URL:            https://github.com/eclipse-ee4j/injection-api
22c06f
BuildArch:      noarch
22c06f
22c06f
Source0:        https://github.com/eclipse-ee4j/injection-api/archive/%{version}.tar.gz
22c06f
22c06f
BuildRequires:  maven-local
22c06f
%if %{with bootstrap}
22c06f
BuildRequires:  javapackages-bootstrap
22c06f
%else
22c06f
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
22c06f
%endif
22c06f
22c06f
%description
22c06f
This package specifies a means for obtaining objects in such a way as
22c06f
to maximize reusability, testability and maintainability compared to
22c06f
traditional approaches such as constructors, factories, and service
22c06f
locators (e.g., JNDI). This process, known as dependency injection, is
22c06f
beneficial to most nontrivial applications.
22c06f
22c06f
%{?javadoc_package}
22c06f
22c06f
%prep
22c06f
%setup -q -n injection-api-%{version}
22c06f
22c06f
%pom_remove_parent
22c06f
%pom_remove_plugin -r :maven-javadoc-plugin
22c06f
22c06f
%mvn_alias : javax.inject:javax.inject
22c06f
%mvn_file : atinject
22c06f
22c06f
%build
22c06f
%mvn_build
22c06f
22c06f
%install
22c06f
%mvn_install
22c06f
22c06f
%files -n %{?module_prefix}%{name} -f .mfiles
22c06f
%license LICENSE.txt NOTICE.md
22c06f
22c06f
%changelog
22c06f
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.3-5
22c06f
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
22c06f
  Related: rhbz#1991688
22c06f
22c06f
* Wed Jun 09 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0.3-4
22c06f
- Rebuild to workaround DistroBaker issue
22c06f
22c06f
* Tue Jun 08 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0.3-3
22c06f
- Bootstrap Maven for CentOS Stream 9
22c06f
22c06f
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0.3-2
22c06f
- Bootstrap build
22c06f
- Non-bootstrap build
22c06f
22c06f
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1-36.20100611svn86
22c06f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
22c06f
22c06f
* Mon Oct 05 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0.3-1
22c06f
- Update to upstream version 1.0.3
22c06f
22c06f
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1-35.20100611svn86
22c06f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
22c06f
22c06f
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 1-34.20100611svn86
22c06f
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
22c06f
22c06f
* Sat Jun 20 2020 Mat Booth <mat.booth@redhat.com> - 1-33.20100611svn86
22c06f
- Allow building against Java 11
22c06f
22c06f
* Sat May 16 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0.1-1
22c06f
- Update to upstream version 1.0.1
22c06f
22c06f
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1-32.20100611svn86
22c06f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
22c06f
22c06f
* Sat Jan 25 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 1-31.20100611svn86
22c06f
- Build with OpenJDK 8
22c06f
22c06f
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1-30.20100611svn86
22c06f
- Mass rebuild for javapackages-tools 201902
22c06f
22c06f
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1-31.20100611svn86
22c06f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
22c06f
22c06f
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1-29.20100611svn86
22c06f
- Mass rebuild for javapackages-tools 201901
22c06f
22c06f
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1-30.20100611svn86
22c06f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
22c06f
22c06f
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1-29.20100611svn86
22c06f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
22c06f
22c06f
* Wed Apr 18 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 1-28.20100611svn86
22c06f
- Remove javax.inject Provides
22c06f
22c06f
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1-27.20100611svn86
22c06f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
22c06f
22c06f
* Mon Jan 29 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 1-26.20100611svn86
22c06f
- Cleanup spec file
22c06f
22c06f
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1-25.20100611svn86
22c06f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
22c06f
22c06f
* Thu Feb 23 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 1-24.20100611svn86
22c06f
- Use build-classpath to symlink junit JAR
22c06f
22c06f
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1-23.20100611svn86
22c06f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
22c06f
22c06f
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1-22.20100611svn86
22c06f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
22c06f
22c06f
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1-21.20100611svn86
22c06f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
22c06f
22c06f
* Wed May 13 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1-20.20100611svn86
22c06f
- Disable javadoc doclint
22c06f
22c06f
* Thu Mar 12 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1-19.20100611svn86
22c06f
- Add javapackages Maven coordinates to manifests
22c06f
22c06f
* Wed Feb 18 2015 Mat Booth <mat.booth@redhat.com> - 1-18.20100611svn86
22c06f
- Add OSGi manifest to tck jar
22c06f
- Install with mvn_install
22c06f
22c06f
* Mon Jun 09 2014 Michal Srb <msrb@redhat.com> - 1-17.20100611svn86
22c06f
- Apply the "source/target 1.5" patch
22c06f
22c06f
* Mon Jun  9 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1-16.20100611svn86
22c06f
- Compile with source/target 1.5
22c06f
22c06f
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1-15.20100611svn86
22c06f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
22c06f
22c06f
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1-14.20100611svn86
22c06f
- Use Requires: java-headless rebuild (#1067528)
22c06f
22c06f
* Mon Aug 12 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1-13.20100611svn86
22c06f
- Add javax.inject provides and directory
22c06f
22c06f
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1-12.20100611svn86
22c06f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
22c06f
22c06f
* Fri Jun 14 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1-11.20100611svn86
22c06f
- Remove unneeded BRs
22c06f
- Install missing LICENSE file
22c06f
- Update to current packaging guidelines
22c06f
22c06f
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1-10.20100611svn86
22c06f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
22c06f
22c06f
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1-9.20100611svn86
22c06f
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
22c06f
- Replace maven BuildRequires with maven-local
22c06f
22c06f
* Mon Jul 23 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1-8.20100611svn86
22c06f
- Add zip BR
22c06f
22c06f
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1-7.20100611svn86
22c06f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
22c06f
22c06f
* Fri Feb 24 2012 Krzysztof Daniel <kdaniel@redhat.com> - 1-6.20100611svn86
22c06f
- Added OSGi manifest.
22c06f
22c06f
* Mon Feb 13 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1-5.20100611svn86
22c06f
- Add tck subpackage
22c06f
- Use upstream build method
22c06f
22c06f
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1-4.20100611svn86
22c06f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
22c06f
22c06f
* Fri Jun 10 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1-3.20100611svn86
22c06f
- Use maven3 to build
22c06f
- Versionless jars & javadocs
22c06f
22c06f
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1-2.20100611svn86
22c06f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
22c06f
22c06f
* Tue Sep 21 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1-1.20100611svn86
22c06f
- Initial version of the package