Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
51c0c369de | ||
|
|
c9dfb5455d | ||
|
|
c397a9d28b |
3 changed files with 33 additions and 21 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -7,3 +7,4 @@
|
|||
/aether-connector-okhttp-0.14.0-1b66624.tar.gz
|
||||
/aether-connector-okhttp-0.16.0-ded2b31.tar.gz
|
||||
/aether-connector-okhttp-0.17.3-a1115e4.tar.gz
|
||||
/aether-connector-okhttp-0.17.6-fefafe6.tar.gz
|
||||
|
|
|
|||
|
|
@ -1,22 +1,25 @@
|
|||
%global commit a1115e45f2a52d3b43d3b4f885eb8eaf041e69df
|
||||
%global commit fefafe6b6e4ceb46e90623bcbde895a6514de65d
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
Name: aether-connector-okhttp
|
||||
Version: 0.17.3
|
||||
Version: 0.17.6
|
||||
Release: 3%{?dist}
|
||||
Summary: OkHttp Aether Connector
|
||||
|
||||
# src/main/java/io/tesla/aether/wagon/OkHttpsWagon.java is ASL and EPL
|
||||
License: EPL and (ASL 2.0 and EPL)
|
||||
URL: https://github.com/tesla/%{name}
|
||||
Source0: https://github.com/tesla/%{name}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
|
||||
License: EPL-1.0 and (ASL 2.0 and EPL-1.0)
|
||||
URL: https://github.com/takari/%{name}
|
||||
Source0: https://github.com/takari/%{name}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
# Upstream Eclipse no longer supports non-64bit arches
|
||||
ExcludeArch: s390 %{arm} %{ix86}
|
||||
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: mvn(com.google.guava:guava:18.0)
|
||||
BuildRequires: mvn(com.squareup.okhttp3:okhttp) >= 3.10.0
|
||||
BuildRequires: mvn(com.squareup.okio:okio) >= 1.14.0
|
||||
BuildRequires: mvn(com.squareup.okhttp3:okhttp) >= 3.14.2
|
||||
BuildRequires: mvn(com.squareup.okio:okio) >= 1.17.4
|
||||
BuildRequires: mvn(javax.inject:javax.inject)
|
||||
BuildRequires: mvn(org.apache.maven.wagon:wagon-provider-api)
|
||||
BuildRequires: mvn(org.eclipse.aether:aether-api)
|
||||
|
|
@ -29,8 +32,8 @@ BuildRequires: mvn(org.slf4j:slf4j-api)
|
|||
BuildRequires: mvn(org.sonatype.plugins:sisu-maven-plugin)
|
||||
BuildRequires: mvn(org.sonatype.sisu:sisu-guice::no_aop:)
|
||||
|
||||
Requires: mvn(com.squareup.okhttp3:okhttp) >= 3.10.0
|
||||
Requires: mvn(com.squareup.okio:okio) >= 1.14.0
|
||||
Requires: mvn(com.squareup.okhttp3:okhttp) >= 3.14.2
|
||||
Requires: mvn(com.squareup.okio:okio) >= 1.17.4
|
||||
|
||||
%description
|
||||
A repository connector implementation based on Square's OkHttp.
|
||||
|
|
@ -41,28 +44,26 @@ Summary: Javadoc for %{name}
|
|||
%description javadoc
|
||||
API documentation for %{name}.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{commit}
|
||||
|
||||
find -name '*.class' -delete
|
||||
find -name '*.jar' -delete
|
||||
|
||||
# Avoid reliance on takari-lifecycle
|
||||
%pom_remove_parent
|
||||
%pom_xpath_remove "pom:packaging"
|
||||
%pom_add_plugin "org.sonatype.plugins:sisu-maven-plugin" . \
|
||||
" <executions>
|
||||
<execution>
|
||||
<id>generate-index</id>
|
||||
<phase>process-classes</phase>
|
||||
<goals><goal>main-index</goal></goals>
|
||||
</execution>
|
||||
</executions>"
|
||||
%pom_add_plugin "org.sonatype.plugins:sisu-maven-plugin" . "
|
||||
<executions>
|
||||
<execution>
|
||||
<id>generate-index</id>
|
||||
<phase>process-classes</phase>
|
||||
<goals><goal>main-index</goal></goals>
|
||||
</execution>
|
||||
</executions>"
|
||||
|
||||
%build
|
||||
# We don't have all test deps (e.g. npn-boot, provisio-webserver)
|
||||
%mvn_build --skip-tests -- -Dtakari.privatePackageReference=ignore -Dmaven.compiler.source=1.7 -Dmaven.compiler.target=1.7
|
||||
%mvn_build -f -- -Dtakari.privatePackageReference=ignore -Dmaven.compiler.source=1.7 -Dmaven.compiler.target=1.7
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
|
@ -75,6 +76,16 @@ find -name '*.jar' -delete
|
|||
%license eclipse-1.0.txt
|
||||
|
||||
%changelog
|
||||
* Fri Jan 24 2020 Mat Booth <mat.booth@redhat.com> - 0.17.6-3
|
||||
- Avoid using takari stack for building
|
||||
|
||||
* Fri Jun 14 2019 Mat Booth <mat.booth@redhat.com> - 0.17.6-2
|
||||
- Restrict to same architectures as Eclipse itself
|
||||
|
||||
* Mon Jun 10 2019 Mat Booth <mat.booth@redhat.com> - 0.17.6-1
|
||||
- Update to latest upstream version
|
||||
- Fix license tag, simplify build
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.3-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (aether-connector-okhttp-0.17.3-a1115e4.tar.gz) = 6126faf85b2a3891b3a98cf7fdac7405af58c32dd2ddff4b5406d13473460f402e08c9145c09773f97325e40a0c986b679d8d7788ec07dfc548acc67af1d344e
|
||||
SHA512 (aether-connector-okhttp-0.17.6-fefafe6.tar.gz) = fbfacebcf9446791ac985fa8b3f836c4400f81b11b5fc64f3157b6bcec3d0d2b4eca068026d6001cfaafe27dad932860d25053891b4f8d6aaabef9f4156fe4f8
|
||||
|
|
|
|||
Reference in a new issue