|
|
01f6c74 |
%global commit a1115e45f2a52d3b43d3b4f885eb8eaf041e69df
|
|
|
100bc68 |
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
100bc68 |
|
|
|
100bc68 |
Name: aether-connector-okhttp
|
|
|
01f6c74 |
Version: 0.17.3
|
|
|
f09aed3 |
Release: 3%{?dist}
|
|
|
100bc68 |
Summary: OkHttp Aether Connector
|
|
|
100bc68 |
|
|
|
100bc68 |
# src/main/java/io/tesla/aether/wagon/OkHttpsWagon.java is ASL and EPL
|
|
|
100bc68 |
License: EPL and (ASL 2.0 and EPL)
|
|
|
100bc68 |
URL: https://github.com/tesla/%{name}
|
|
|
100bc68 |
Source0: https://github.com/tesla/%{name}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
|
|
|
37b8c33 |
|
|
|
100bc68 |
BuildArch: noarch
|
|
|
100bc68 |
|
|
|
a251f13 |
BuildRequires: maven-local
|
|
|
01f6c74 |
BuildRequires: mvn(com.google.guava:guava:18.0)
|
|
|
01f6c74 |
BuildRequires: mvn(com.squareup.okhttp3:okhttp) >= 3.10.0
|
|
|
01f6c74 |
BuildRequires: mvn(com.squareup.okio:okio) >= 1.14.0
|
|
|
a251f13 |
BuildRequires: mvn(javax.inject:javax.inject)
|
|
|
a251f13 |
BuildRequires: mvn(org.apache.maven.wagon:wagon-provider-api)
|
|
|
a251f13 |
BuildRequires: mvn(org.eclipse.aether:aether-api)
|
|
|
a251f13 |
BuildRequires: mvn(org.eclipse.aether:aether-impl)
|
|
|
a251f13 |
BuildRequires: mvn(org.eclipse.aether:aether-spi)
|
|
|
a251f13 |
BuildRequires: mvn(org.eclipse.aether:aether-util)
|
|
|
a251f13 |
BuildRequires: mvn(org.eclipse.sisu:org.eclipse.sisu.inject)
|
|
|
a251f13 |
BuildRequires: mvn(org.eclipse.sisu:org.eclipse.sisu.plexus)
|
|
|
a251f13 |
BuildRequires: mvn(org.slf4j:slf4j-api)
|
|
|
01f6c74 |
BuildRequires: mvn(org.sonatype.plugins:sisu-maven-plugin)
|
|
|
a251f13 |
BuildRequires: mvn(org.sonatype.sisu:sisu-guice::no_aop:)
|
|
|
100bc68 |
|
|
|
01f6c74 |
Requires: mvn(com.squareup.okhttp3:okhttp) >= 3.10.0
|
|
|
01f6c74 |
Requires: mvn(com.squareup.okio:okio) >= 1.14.0
|
|
|
01f6c74 |
|
|
|
100bc68 |
%description
|
|
|
100bc68 |
A repository connector implementation based on Square's OkHttp.
|
|
|
100bc68 |
|
|
|
100bc68 |
%package javadoc
|
|
|
100bc68 |
Summary: Javadoc for %{name}
|
|
|
100bc68 |
|
|
|
100bc68 |
%description javadoc
|
|
|
100bc68 |
API documentation for %{name}.
|
|
|
100bc68 |
|
|
|
100bc68 |
|
|
|
100bc68 |
%prep
|
|
|
100bc68 |
%setup -q -n %{name}-%{commit}
|
|
|
100bc68 |
|
|
|
100bc68 |
find -name '*.class' -delete
|
|
|
100bc68 |
find -name '*.jar' -delete
|
|
|
100bc68 |
|
|
|
01f6c74 |
# Avoid reliance on takari-lifecycle
|
|
|
01f6c74 |
%pom_remove_parent
|
|
|
01f6c74 |
%pom_xpath_remove "pom:packaging"
|
|
|
01f6c74 |
%pom_add_plugin "org.sonatype.plugins:sisu-maven-plugin" . \
|
|
|
01f6c74 |
" <executions>
|
|
|
01f6c74 |
<execution>
|
|
|
01f6c74 |
<id>generate-index</id>
|
|
|
01f6c74 |
<phase>process-classes</phase>
|
|
|
01f6c74 |
<goals><goal>main-index</goal></goals>
|
|
|
01f6c74 |
</execution>
|
|
|
01f6c74 |
</executions>"
|
|
|
01f6c74 |
|
|
|
100bc68 |
%build
|
|
|
01f6c74 |
# We don't have all test deps (e.g. npn-boot, provisio-webserver)
|
|
|
01f6c74 |
%mvn_build --skip-tests -- -Dtakari.privatePackageReference=ignore -Dmaven.compiler.source=1.7 -Dmaven.compiler.target=1.7
|
|
|
100bc68 |
|
|
|
100bc68 |
%install
|
|
|
100bc68 |
%mvn_install
|
|
|
100bc68 |
|
|
|
100bc68 |
%files -f .mfiles
|
|
|
a251f13 |
%license eclipse-1.0.txt
|
|
|
a251f13 |
%license license-header.txt
|
|
|
100bc68 |
|
|
|
100bc68 |
%files javadoc -f .mfiles-javadoc
|
|
|
a251f13 |
%license eclipse-1.0.txt
|
|
|
100bc68 |
|
|
|
100bc68 |
%changelog
|
|
|
f09aed3 |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.3-3
|
|
|
f09aed3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
f09aed3 |
|
|
|
ecc5266 |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.3-2
|
|
|
ecc5266 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
ecc5266 |
|
|
|
01f6c74 |
* Tue Mar 20 2018 Mat Booth <mat.booth@redhat.com> - 0.17.3-1
|
|
|
01f6c74 |
- Update to latest release
|
|
|
01f6c74 |
|
|
|
b6f2342 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.0-2
|
|
|
b6f2342 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
b6f2342 |
|
|
|
a251f13 |
* Mon Sep 11 2017 Mat Booth <mat.booth@redhat.com> - 0.16.0-1
|
|
|
a251f13 |
- Update to upstream version 0.16.0
|
|
|
a251f13 |
|
|
|
15732d1 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-5
|
|
|
15732d1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
15732d1 |
|
|
|
54e7dcc |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-4
|
|
|
54e7dcc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
54e7dcc |
|
|
|
2df27f5 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-3
|
|
|
2df27f5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
2df27f5 |
|
|
|
2ca74c9 |
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.0-2
|
|
|
2ca74c9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
2ca74c9 |
|
|
|
bb8aacf |
* Wed Mar 11 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.14.0-1
|
|
|
bb8aacf |
- Update to upstream version 0.14.0
|
|
|
bb8aacf |
|
|
|
2672937 |
* Fri Jul 25 2014 Mat Booth <mat.booth@redhat.com> - 0.12.0-4
|
|
|
2672937 |
- Fix failure to build with the latest version of guava
|
|
|
2672937 |
|
|
|
1aaca97 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.0-3
|
|
|
1aaca97 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
1aaca97 |
|
|
|
8766192 |
* Sat May 24 2014 Gerard Ryan <galileo@fedoraproject.org> - 0.12.0-2
|
|
|
37b8c33 |
- Update to latest upstream version 0.12.0
|
|
|
8766192 |
- RHBZ#1100949: Patch for latest aether api
|
|
|
37b8c33 |
|
|
Stanislav Ochotnicky |
029e066 |
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.0.11-3
|
|
Stanislav Ochotnicky |
029e066 |
- Use Requires: java-headless rebuild (#1067528)
|
|
Stanislav Ochotnicky |
029e066 |
|
|
|
100bc68 |
* Wed Feb 5 2014 Gerard Ryan <galileo@fedoraproject.org> - 0.0.11-2
|
|
|
100bc68 |
- Initial rpm
|