This commit is contained in:
parent
7519c5e136
commit
9c21d648ae
@ -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.
35
auto.spec
35
auto.spec
@ -17,8 +17,8 @@
|
||||
|
||||
|
||||
%global auto_ver 1.6.1
|
||||
%global common_ver 0.10
|
||||
%global service_ver 1.0-rc4
|
||||
%global common_ver 1.0
|
||||
%global service_ver 1.0
|
||||
%global parent_ver 6
|
||||
Name: auto
|
||||
Version: %{auto_ver}
|
||||
@ -36,6 +36,7 @@ BuildRequires: java-devel >= 1.8
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: mvn(com.squareup:javapoet)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-invoker-plugin)
|
||||
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@ -51,13 +52,25 @@ Obsoletes: %{name}-factory < %{version}-%{release}
|
||||
Common utilities for creating annotation processors.
|
||||
|
||||
%package service
|
||||
Summary: Provider-configuration files for ServiceLoader
|
||||
Summary: AutoService Processor
|
||||
Group: Development/Libraries/Java
|
||||
|
||||
%description service
|
||||
A configuration/meta-data generator for
|
||||
java.util.ServiceLoader-style service
|
||||
providers.
|
||||
Provider-configuration files for ServiceLoader.
|
||||
|
||||
%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
|
||||
Summary: Auto Value
|
||||
@ -108,7 +121,9 @@ find -name '*.jar' -print -delete
|
||||
|
||||
# Fix deps in service module
|
||||
%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 :maven-shade-plugin
|
||||
%pom_remove_plugin :maven-shade-plugin value/processor
|
||||
@ -139,6 +154,12 @@ find -name '*.jar' -print -delete
|
||||
%doc service/README.md
|
||||
%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
|
||||
%doc value/README.md
|
||||
%license LICENSE.txt
|
||||
|
Loading…
x
Reference in New Issue
Block a user