Blame SPECS/felix-gogo-runtime.spec

956c06
%global bundle  org.apache.felix.gogo.runtime
956c06
956c06
Name:           felix-gogo-runtime
956c06
Version:        1.1.0
956c06
Release:        7%{?dist}
956c06
Summary:        Apache Felix Gogo command line shell for OSGi
956c06
# One file is also MIT licensed:
956c06
#  src/main/java/org/apache/felix/gogo/runtime/Expression.java
956c06
License:        ASL 2.0 and MIT
956c06
URL:            http://felix.apache.org/documentation/subprojects/apache-felix-gogo.html
956c06
956c06
Source0:        http://archive.apache.org/dist/felix/%{bundle}-%{version}-source-release.tar.gz
956c06
956c06
BuildArch:      noarch
956c06
956c06
BuildRequires:  maven-local
956c06
BuildRequires:  mvn(junit:junit)
956c06
BuildRequires:  mvn(org.apache.felix:gogo-parent:pom:) >= 4
956c06
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
956c06
BuildRequires:  mvn(org.mockito:mockito-core)
956c06
BuildRequires:  mvn(org.osgi:osgi.cmpn)
956c06
BuildRequires:  mvn(org.osgi:osgi.core)
956c06
956c06
%description
956c06
Apache Felix Gogo is a subproject of Apache Felix implementing a command
956c06
line shell for OSGi. It is used in many OSGi runtimes and servers.
956c06
956c06
%package javadoc
956c06
Summary: Javadoc for %{name}
956c06
956c06
%description javadoc
956c06
This package contains the API documentation for %{name}.
956c06
956c06
%prep
956c06
%setup -q -n %{bundle}-%{version}
956c06
956c06
# Remove 2 failing assertions on Java 11 in TestParser.testPipe()
956c06
sed -i '/(echoout/ d' src/test/java/org/apache/felix/gogo/runtime/TestParser.java
956c06
956c06
%mvn_file : felix/%{bundle}
956c06
956c06
%build
956c06
%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 -Dsource=1.8 -DdetectJavaApiLink=false
956c06
956c06
%install
956c06
%mvn_install
956c06
956c06
%files -f .mfiles
956c06
%license LICENSE NOTICE
956c06
956c06
%files javadoc -f .mfiles-javadoc
956c06
%license LICENSE NOTICE
956c06
956c06
%changelog
956c06
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 1.1.0-7
956c06
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
956c06
956c06
* Fri Jun 26 2020 Roland Grunberg <rgrunber@redhat.com> - 1.1.0-6
956c06
- Set source/target to 1.8 for Java 11 build.
956c06
- Disable Java API link detection for javadoc generation as this fails.
956c06
- Disable some assertions in TestParser.testPipe() that fail on Java 11.
956c06
956c06
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-5
956c06
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
956c06
956c06
* Thu Dec 12 2019 Mat Booth <mat.booth@redhat.com> - 1.1.0-4
956c06
- Fix license tag to include MIT
956c06
956c06
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3
956c06
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
956c06
956c06
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
956c06
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
956c06
956c06
* Fri Aug 17 2018 Mat Booth <mat.booth@redhat.com> - 1.1.0-1
956c06
- Update to latest release
956c06
- Enable tests
956c06
956c06
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-4
956c06
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
956c06
956c06
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-3
956c06
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
956c06
956c06
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-2
956c06
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
956c06
956c06
* Fri May 05 2017 Michael Simacek <msimacek@redhat.com> - 1.0.4-1
956c06
- Update to upstream version 1.0.4
956c06
956c06
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.2-5
956c06
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
956c06
956c06
* Thu Jun 16 2016 Alexander Kurtakov <akurtako@redhat.com> 0.16.2-4
956c06
- Add BR maven-bundle-plugin to fix build.
956c06
956c06
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.2-3
956c06
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
956c06
956c06
* Mon Jun 29 2015 Mat Booth <mat.booth@redhat.com> - 0.16.2-2
956c06
- Remove incomplete and forbidden SCL macros
956c06
956c06
* Fri Jun 19 2015 Alexander Kurtakov <akurtako@redhat.com> 0.16.2-1
956c06
- Update to upstream 0.16.2.
956c06
956c06
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.1-2
956c06
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
956c06
956c06
* Thu Jul 3 2014 Alexander Kurtakov <akurtako@redhat.com> 0.12.1-1
956c06
- Update to upstream 0.12.1.
956c06
956c06
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-12
956c06
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
956c06
956c06
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.10.0-11
956c06
- Use Requires: java-headless rebuild (#1067528)
956c06
956c06
* Tue Aug 06 2013 Michal Srb <msrb@redhat.com> - 0.10.0-10
956c06
- Adapt to current guidelines
956c06
- Install NOTICE file with javadoc subpackage
956c06
956c06
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-9
956c06
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
956c06
956c06
* Fri Mar 15 2013 Krzysztof Daniel <kdaniel@redhat.com> 0.10.0-8
956c06
- Initial SCLization.
956c06
956c06
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-7
956c06
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
956c06
956c06
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 0.10.0-6
956c06
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
956c06
- Replace maven BuildRequires with maven-local
956c06
956c06
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-5
956c06
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
956c06
956c06
* Wed Jan 18 2012 Tomas Radej <tradej@redhat.com> - 0.10.0-4
956c06
- Changed jar path
956c06
956c06
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-3
956c06
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
956c06
956c06
* Fri Dec 16 2011 Tomas Radej <tradej@redhat.com> - 0.10.0-2
956c06
- Repackaged, minor changes
956c06
956c06
* Mon Nov 07 2011 Tomas Radej <tradej@redhat.com> - 0.10.0-1
956c06
- Initial packaging