Compare commits

...
This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.

3 commits

Author SHA1 Message Date
Mat Booth
51c0c369de Avoid using takari stack for building 2020-01-24 14:43:09 +00:00
Mat Booth
c9dfb5455d Restrict to same architectures as Eclipse itself 2019-06-14 10:47:33 +01:00
Mat Booth
c397a9d28b Update to latest upstream version
Fix license tag, simplify build
2019-06-11 00:19:52 +01:00
3 changed files with 33 additions and 21 deletions

1
.gitignore vendored
View file

@ -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

View file

@ -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

View file

@ -1 +1 @@
SHA512 (aether-connector-okhttp-0.17.3-a1115e4.tar.gz) = 6126faf85b2a3891b3a98cf7fdac7405af58c32dd2ddff4b5406d13473460f402e08c9145c09773f97325e40a0c986b679d8d7788ec07dfc548acc67af1d344e
SHA512 (aether-connector-okhttp-0.17.6-fefafe6.tar.gz) = fbfacebcf9446791ac985fa8b3f836c4400f81b11b5fc64f3157b6bcec3d0d2b4eca068026d6001cfaafe27dad932860d25053891b4f8d6aaabef9f4156fe4f8