Accepting request 946450 from Java:packages
1.6.1 OBS-URL: https://build.opensuse.org/request/show/946450 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/auto?expand=0&rev=4
This commit is contained in:
commit
41b6afe6a1
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9e94ceada878571a030e327df894b82b9b6af728b0b41d2f029ac2cfe5421200
|
|
||||||
size 279601
|
|
BIN
auto-common-1.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
auto-common-1.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3d1a2194ea376aa78c56993ca1569dfe3645eb157e0f42fa2f161196a8be0e05
|
|
||||||
size 271974
|
|
BIN
auto-service-1.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
auto-service-1.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d5f830dffe986622725ed817a269dfc35491f1cac67919356a8db7a226cc912d
|
|
||||||
size 296950
|
|
BIN
auto-value-1.6.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
auto-value-1.6.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,7 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 13 17:52:07 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Update to upstream release 1.6.1
|
||||||
|
* provides the auto-value-annotations artifact
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 25 07:54:25 UTC 2020 - Fridrich Strba <fstrba@suse.com>
|
Wed Mar 25 07:54:25 UTC 2020 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
- Update to upstream relese 1.5.4
|
- Update to upstream release 1.5.4
|
||||||
- Fetch 4 different tarballs in order to have correctly tagged
|
- Fetch 4 different tarballs in order to have correctly tagged
|
||||||
submodules in the build
|
submodules in the build
|
||||||
|
|
||||||
|
81
auto.spec
81
auto.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package auto
|
# spec file for package auto
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,9 +16,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%global auto_ver 1.5.4
|
%global auto_ver 1.6.1
|
||||||
%global common_ver 0.10
|
%global common_ver 1.0
|
||||||
%global service_ver 1.0-rc4
|
%global service_ver 1.0
|
||||||
%global parent_ver 6
|
%global parent_ver 6
|
||||||
Name: auto
|
Name: auto
|
||||||
Version: %{auto_ver}
|
Version: %{auto_ver}
|
||||||
@ -35,6 +35,8 @@ BuildRequires: fdupes
|
|||||||
BuildRequires: java-devel >= 1.8
|
BuildRequires: java-devel >= 1.8
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
BuildRequires: mvn(com.squareup:javapoet)
|
BuildRequires: mvn(com.squareup:javapoet)
|
||||||
|
BuildRequires: mvn(org.apache.maven.plugins:maven-invoker-plugin)
|
||||||
|
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -50,13 +52,25 @@ Obsoletes: %{name}-factory < %{version}-%{release}
|
|||||||
Common utilities for creating annotation processors.
|
Common utilities for creating annotation processors.
|
||||||
|
|
||||||
%package service
|
%package service
|
||||||
Summary: Provider-configuration files for ServiceLoader
|
Summary: AutoService Processor
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
|
|
||||||
%description service
|
%description service
|
||||||
A configuration/meta-data generator for
|
Provider-configuration files for ServiceLoader.
|
||||||
java.util.ServiceLoader-style service
|
|
||||||
providers.
|
%package service-aggregator
|
||||||
|
Summary: AutoService Aggregator
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
|
||||||
|
%description service-aggregator
|
||||||
|
Aggregator POM for @AutoService.
|
||||||
|
|
||||||
|
%package service-annotations
|
||||||
|
Summary: AutoService Annotations
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
|
||||||
|
%description service-annotations
|
||||||
|
Provider-configuration files for ServiceLoader.
|
||||||
|
|
||||||
%package value
|
%package value
|
||||||
Summary: Auto Value
|
Summary: Auto Value
|
||||||
@ -65,6 +79,19 @@ Group: Development/Libraries/Java
|
|||||||
%description value
|
%description value
|
||||||
Immutable value-type code generation for Java 1.6+.
|
Immutable value-type code generation for Java 1.6+.
|
||||||
|
|
||||||
|
%package value-annotations
|
||||||
|
Summary: Auto Value Annotations
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
|
||||||
|
%description value-annotations
|
||||||
|
Immutable value-type code generation for Java 1.6+.
|
||||||
|
|
||||||
|
%package value-parent
|
||||||
|
Summary: Auto Value Parent
|
||||||
|
|
||||||
|
%description value-parent
|
||||||
|
Immutable value-type code generation for Java 1.6+.
|
||||||
|
|
||||||
%package javadoc
|
%package javadoc
|
||||||
Summary: Javadoc for %{name}
|
Summary: Javadoc for %{name}
|
||||||
Group: Documentation/HTML
|
Group: Documentation/HTML
|
||||||
@ -79,31 +106,29 @@ mv auto-auto-parent-%{parent_ver}/pom.xml .
|
|||||||
mv auto-auto-common-%{common_ver}/common common
|
mv auto-auto-common-%{common_ver}/common common
|
||||||
mv auto-auto-service-%{service_ver}/service service
|
mv auto-auto-service-%{service_ver}/service service
|
||||||
|
|
||||||
|
find -name '*.class' -print -delete
|
||||||
|
find -name '*.jar' -print -delete
|
||||||
|
|
||||||
# remove unnecessary dependency on parent POM
|
# remove unnecessary dependency on parent POM
|
||||||
%pom_remove_parent
|
%pom_remove_parent
|
||||||
|
|
||||||
# Disable factory module due to missing dep:
|
# Disable factory module due to missing dep:
|
||||||
# com.google.googlejavaformat:google-java-format
|
# com.google.googlejavaformat:google-java-format
|
||||||
%pom_disable_module factory build-pom.xml
|
%pom_disable_module factory build-pom.xml
|
||||||
|
# Missing dep on com.google.gwt:gwt
|
||||||
|
%pom_disable_module src/it/functional value/pom.xml
|
||||||
|
%pom_disable_module src/it/gwtserializer value/pom.xml
|
||||||
|
|
||||||
# Fix deps in service module
|
# Fix deps in service module
|
||||||
%pom_xpath_set "pom:parent/pom:version" 6 service
|
%pom_xpath_set "pom:parent/pom:version" 6 service
|
||||||
%pom_change_dep com.google.auto:auto-common com.google.auto:auto-common:0.10 service
|
%pom_change_dep com.google.auto:auto-common com.google.auto:auto-common:1.0 value/processor
|
||||||
|
%pom_change_dep com.google.auto.service:auto-service com.google.auto.service:auto-service:1.0 value/processor
|
||||||
|
#%pom_change_dep com.google.auto:auto-common com.google.auto:auto-common:0.10 service
|
||||||
%pom_remove_plugin org.apache.maven.plugins:maven-checkstyle-plugin
|
%pom_remove_plugin org.apache.maven.plugins:maven-checkstyle-plugin
|
||||||
%pom_remove_plugin :maven-shade-plugin value
|
%pom_remove_plugin :maven-shade-plugin
|
||||||
%pom_remove_plugin :maven-invoker-plugin value
|
%pom_remove_plugin :maven-shade-plugin value/processor
|
||||||
|
|
||||||
# Broader guava compatibility
|
%mvn_package :build-only __noinstall
|
||||||
sed -i -e 's/23.5-jre/20.0/' pom.xml
|
|
||||||
sed -i -e 's/toImmutableMap/toMap/' -e 's/static com.google.common.collect.ImmutableMap/static java.util.stream.Collectors/' \
|
|
||||||
-e '/elementValues/s/ImmutableMap/Map/' \
|
|
||||||
common/src/main/java/com/google/auto/common/SimpleAnnotationMirror.java
|
|
||||||
sed -i -e 's/toImmutableSet/toSet/' -e 's/static com.google.common.collect.ImmutableSet/static java.util.stream.Collectors/' \
|
|
||||||
-e '/ImmutableSet</s/ImmutableSet/Set/' \
|
|
||||||
service/src/main/java/com/google/auto/service/processor/AutoServiceProcessor.java
|
|
||||||
|
|
||||||
%{mvn_package} :build-only __noinstall
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{mvn_build} -sf -- \
|
%{mvn_build} -sf -- \
|
||||||
@ -129,10 +154,22 @@ sed -i -e 's/toImmutableSet/toSet/' -e 's/static com.google.common.collect.Immut
|
|||||||
%doc service/README.md
|
%doc service/README.md
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
|
|
||||||
|
%files service-aggregator -f .mfiles-%{name}-service-aggregator
|
||||||
|
%license LICENSE.txt
|
||||||
|
|
||||||
|
%files service-annotations -f .mfiles-%{name}-service-annotations
|
||||||
|
%license LICENSE.txt
|
||||||
|
|
||||||
%files value -f .mfiles-%{name}-value
|
%files value -f .mfiles-%{name}-value
|
||||||
%doc value/README.md
|
%doc value/README.md
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
|
|
||||||
|
%files value-annotations -f .mfiles-%{name}-value-annotations
|
||||||
|
%license LICENSE.txt
|
||||||
|
|
||||||
|
%files value-parent -f .mfiles-%{name}-value-parent
|
||||||
|
%license LICENSE.txt
|
||||||
|
|
||||||
%files javadoc -f .mfiles-javadoc
|
%files javadoc -f .mfiles-javadoc
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user