|
|
bb8aacf |
%global commit 1b666247f763ed846062b09e5010a5a417cff436
|
|
|
100bc68 |
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
100bc68 |
|
|
|
100bc68 |
Name: aether-connector-okhttp
|
|
|
bb8aacf |
Version: 0.14.0
|
|
|
2ca74c9 |
Release: 2%{?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
|
|
|
100bc68 |
Source1: eclipse-1.0.txt
|
|
|
37b8c33 |
|
|
|
100bc68 |
BuildArch: noarch
|
|
|
100bc68 |
|
|
|
100bc68 |
BuildRequires: mvn(org.eclipse.jetty:jetty-util)
|
|
|
100bc68 |
BuildRequires: mvn(org.eclipse.sisu:org.eclipse.sisu.plexus)
|
|
|
100bc68 |
BuildRequires: mvn(org.eclipse.sisu:sisu-maven-plugin)
|
|
|
100bc68 |
BuildRequires: mvn(org.codehaus.plexus:plexus-component-annotations)
|
|
|
100bc68 |
BuildRequires: mvn(com.google.guava:guava)
|
|
|
100bc68 |
BuildRequires: mvn(junit:junit)
|
|
|
100bc68 |
BuildRequires: mvn(com.squareup.okhttp:okhttp)
|
|
|
100bc68 |
BuildRequires: mvn(javax.inject:javax.inject)
|
|
|
100bc68 |
BuildRequires: mvn(org.slf4j:slf4j-simple)
|
|
|
100bc68 |
BuildRequires: mvn(org.apache.maven.wagon:wagon-provider-api)
|
|
|
100bc68 |
BuildRequires: maven-local
|
|
|
100bc68 |
|
|
|
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 |
cp %{SOURCE1} .
|
|
|
100bc68 |
|
|
|
100bc68 |
find -name '*.class' -delete
|
|
|
100bc68 |
find -name '*.jar' -delete
|
|
|
100bc68 |
|
|
|
100bc68 |
# Doesn't really need the parent
|
|
|
100bc68 |
%pom_remove_parent
|
|
|
100bc68 |
|
|
|
100bc68 |
# Unbundle SslContextFactory
|
|
|
100bc68 |
%pom_add_dep org.eclipse.jetty:jetty-util
|
|
|
bb8aacf |
rm -r src/main/java/io/takari/aether/okhttp/ssl/
|
|
|
bb8aacf |
sed -i -e "s/io.takari.aether.okhttp.ssl.SslContextFactory/org.eclipse.jetty.util.ssl.SslContextFactory/" \
|
|
|
100bc68 |
-e "s/scf.setTrustStore(trustStorePath)/scf.setTrustStorePath(trustStorePath)/" \
|
|
|
bb8aacf |
src/main/java/io/takari/aether/okhttp/OkHttpAetherClient.java
|
|
|
37b8c33 |
|
|
|
100bc68 |
%build
|
|
|
100bc68 |
# We don't have all test deps (e.g. npn-boot)
|
|
|
100bc68 |
%mvn_build --skip-tests
|
|
|
100bc68 |
|
|
|
100bc68 |
%install
|
|
|
100bc68 |
%mvn_install
|
|
|
100bc68 |
|
|
|
100bc68 |
%files -f .mfiles
|
|
|
100bc68 |
%dir %{_javadir}/%{name}
|
|
|
100bc68 |
%doc eclipse-1.0.txt
|
|
|
100bc68 |
%doc license-header.txt
|
|
|
100bc68 |
|
|
|
100bc68 |
%files javadoc -f .mfiles-javadoc
|
|
|
100bc68 |
%doc eclipse-1.0.txt
|
|
|
100bc68 |
|
|
|
100bc68 |
%changelog
|
|
|
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
|