b3aade
%bcond_with bootstrap
b3aade
b3aade
%global bundle org.apache.felix.utils
b3aade
b3aade
Name:           felix-utils
b3aade
Version:        1.11.6
b3aade
Release:        5%{?dist}
b3aade
Summary:        Utility classes for OSGi
b3aade
License:        ASL 2.0
b3aade
URL:            https://felix.apache.org
b3aade
BuildArch:      noarch
b3aade
b3aade
Source0:        https://repo1.maven.org/maven2/org/apache/felix/%{bundle}/%{version}/%{bundle}-%{version}-source-release.tar.gz
b3aade
b3aade
# The module org.osgi.cmpn requires implementing methods which were not
b3aade
# implemented in previous versions where org.osgi.compendium was used
b3aade
Patch0:         0000-Port-to-osgi-cmpn.patch
b3aade
b3aade
BuildRequires:  maven-local
b3aade
%if %{with bootstrap}
b3aade
BuildRequires:  javapackages-bootstrap
b3aade
%else
b3aade
BuildRequires:  mvn(junit:junit)
b3aade
BuildRequires:  mvn(org.mockito:mockito-core)
b3aade
BuildRequires:  mvn(org.osgi:osgi.cmpn)
b3aade
BuildRequires:  mvn(org.osgi:osgi.core)
b3aade
%endif
b3aade
b3aade
%description
b3aade
Utility classes for OSGi
b3aade
b3aade
%package javadoc
b3aade
Summary:          API documentation for %{name}
b3aade
b3aade
%description javadoc
b3aade
This package contains the API documentation for %{name}.
b3aade
b3aade
%prep
b3aade
%setup -q -n %{bundle}-%{version}
b3aade
%patch0 -p1
b3aade
b3aade
%pom_remove_parent
b3aade
%pom_xpath_inject pom:project "<groupId>org.apache.felix</groupId>"
b3aade
%pom_remove_plugin :apache-rat-plugin
b3aade
b3aade
%mvn_file :%{bundle} "felix/%{bundle}"
b3aade
b3aade
%build
b3aade
%mvn_build
b3aade
b3aade
%install
b3aade
%mvn_install
b3aade
b3aade
%files -f .mfiles
b3aade
%license LICENSE NOTICE
b3aade
%doc DEPENDENCIES
b3aade
b3aade
%files javadoc -f .mfiles-javadoc
b3aade
%license LICENSE NOTICE
b3aade
b3aade
%changelog
b3aade
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.11.6-5
b3aade
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
b3aade
  Related: rhbz#1991688
b3aade
b3aade
* Wed Jun 09 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.11.6-4
b3aade
- Rebuild to workaround DistroBaker issue
b3aade
b3aade
* Tue Jun 08 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.11.6-3
b3aade
- Bootstrap Maven for CentOS Stream 9
b3aade
b3aade
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.11.6-2
b3aade
- Bootstrap build
b3aade
- Non-bootstrap build
b3aade
b3aade
* Tue Feb 02 2021 Fabio Valentini <decathorpe@gmail.com> - 1.11.6-1
b3aade
- Update to version 1.11.6.
b3aade
b3aade
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.4-4
b3aade
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
b3aade
b3aade
* Wed Jan 20 2021 Marian Koncek <mkoncek@redhat.com> - 1.11.6-1
b3aade
- Update to upstream version 1.11.6
b3aade
b3aade
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.4-3
b3aade
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
b3aade
b3aade
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 1.11.4-2
b3aade
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
b3aade
b3aade
* Mon Mar 02 2020 Fabio Valentini <decathorpe@gmail.com> - 1.11.4-1
b3aade
- Update to version 1.11.4.
b3aade
b3aade
* Wed Jan 29 2020 Marian Koncek <mkoncek@redhat.com> - 1.11.4-1
b3aade
- Update to upstream version 1.11.4
b3aade
b3aade
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.2-2
b3aade
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
b3aade
b3aade
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.11.2-2
b3aade
- Mass rebuild for javapackages-tools 201902
b3aade
b3aade
* Sun Aug 18 2019 Fabio Valentini <decathorpe@gmail.com> - 1.11.2-1
b3aade
- Update to version 1.11.2.
b3aade
b3aade
* Sun Aug 18 2019 Fabio Valentini <decathorpe@gmail.com> - 1.11.0-1
b3aade
- Update to version 1.11.0.
b3aade
b3aade
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.4-5
b3aade
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
b3aade
b3aade
* Mon Jul 22 2019 Marian Koncek <mkoncek@redhat.com> - 1.11.2-1
b3aade
- Update to upstream version 1.11.2
b3aade
b3aade
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.11.0-2
b3aade
- Mass rebuild for javapackages-tools 201901
b3aade
b3aade
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.4-4
b3aade
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b3aade
b3aade
* Mon Nov 05 2018 Marian Koncek <mkoncek@redhat.com> - 1.11.0-1
b3aade
- Update to upstream version 1.11.0
b3aade
b3aade
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.4-3
b3aade
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
b3aade
b3aade
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.4-2
b3aade
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b3aade
b3aade
* Mon Nov 27 2017 Michael Simacek <msimacek@redhat.com> - 1.10.4-1
b3aade
- Update to upstream version 1.10.4
b3aade
b3aade
* Tue Sep 12 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.10.2-1
b3aade
- Update to upstream version 1.10.2
b3aade
b3aade
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-2
b3aade
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b3aade
b3aade
* Fri Jun 02 2017 Roman Vais <rvais@redhat.com> - 1.10.0-1
b3aade
- Update to upstream version 1.10.0
b3aade
b3aade
* Wed Mar 29 2017 Michael Simacek <msimacek@redhat.com> - 1.9.0-1
b3aade
- Update to upstream version 1.9.0
b3aade
b3aade
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.6-2
b3aade
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b3aade
b3aade
* Mon Jan 23 2017 Michael Simacek <msimacek@redhat.com> - 1.8.6-1
b3aade
- Update to upstream version 1.8.6
b3aade
b3aade
* Thu Oct 13 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.2-4
b3aade
- Remove build-dependency on maven-source-plugin
b3aade
b3aade
* Thu Jun 16 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.2-3
b3aade
- Regenerate build-requires
b3aade
- Update to current packaging guidelines
b3aade
b3aade
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.2-2
b3aade
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b3aade
b3aade
* Wed Jan 20 2016 Michael Simacek <msimacek@redhat.com> - 1.8.2-1
b3aade
- Update to upstream version 1.8.2
b3aade
b3aade
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.0-2
b3aade
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b3aade
b3aade
* Thu Mar 12 2015 Michael Simacek <msimacek@redhat.com> - 1.8.0-1
b3aade
- Update to upstream version 1.8.0
b3aade
b3aade
* Tue Jan 27 2015 Michael Simacek <msimacek@redhat.com> - 1.6.0-1
b3aade
- Update to upstream version 1.6.0
b3aade
b3aade
* Tue Jan 27 2015 Mat Booth <mat.booth@redhat.com> - 1.4.0-1
b3aade
- Update to upstream 1.4.0 release
b3aade
- Re-enable tests
b3aade
b3aade
* Mon Aug  4 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.0-8
b3aade
- Add build-requires on mockito
b3aade
b3aade
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-7
b3aade
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b3aade
b3aade
* Fri May 30 2014 Michal Srb <msrb@redhat.com> - 1.2.0-6
b3aade
- Update BR
b3aade
b3aade
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.0-5
b3aade
- Remove BuildRequires on maven-surefire-provider-junit4
b3aade
b3aade
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.2.0-4
b3aade
- Use Requires: java-headless rebuild (#1067528)
b3aade
b3aade
* Mon Aug 05 2013 Mat Booth <fedora@matbooth.co.uk> - 1.2.0-3
b3aade
- Update for latest guidelines
b3aade
b3aade
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
b3aade
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b3aade
b3aade
* Wed Apr 17 2013 Mat Booth <fedora@matbooth.co.uk> - 1.2.0-1
b3aade
- Update to latest upstream version rhbz #892553.
b3aade
- Drop patch, use preferred %%pom_* macros instead.
b3aade
b3aade
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-9
b3aade
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b3aade
b3aade
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.1.0-8
b3aade
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
b3aade
- Replace maven BuildRequires with maven-local
b3aade
b3aade
* Thu Jan 03 2013 Jaromir Capik <jcapik@redhat.com> - 1.1.0-7
b3aade
- Changing target from jsr14 to 1.5 (#842593)
b3aade
b3aade
* Tue Sep  4 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1.0-6
b3aade
- Install NOTICE with javadoc pakcage
b3aade
b3aade
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-5
b3aade
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b3aade
b3aade
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-4
b3aade
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b3aade
b3aade
* Thu Oct 13 2011 Jaromir Capik <jcapik@redhat.com> - 1.1.0-3
b3aade
- osgi.org groupId patch removed (fixed in felix-osgi-* packages)
b3aade
b3aade
* Thu Sep 08 2011 Jaromir Capik <jcapik@redhat.com> - 1.1.0-2
b3aade
- Moved to felix subdir
b3aade
- Minor spec file changes
b3aade
b3aade
* Wed Jul 13 2011 Jaromir Capik <jcapik@redhat.com> - 1.1.0-1
b3aade
- Initial version