This commit is contained in:
parent
9ef31eb135
commit
b5e8435310
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package aws-sdk-java
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -23,7 +23,7 @@ Release: 0
|
||||
Summary: AWS SDK for Java
|
||||
License: Apache-2.0 AND SUSE-Public-Domain
|
||||
Group: Development/Libraries/Java
|
||||
URL: http://aws.amazon.com/sdk-for-java/
|
||||
URL: https://aws.amazon.com/sdk-for-java/
|
||||
Source0: https://github.com/aws/aws-sdk-java/archive/%{githash}/%{name}-%{githash}.tar.gz
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: fdupes
|
||||
@ -36,6 +36,9 @@ BuildRequires: mvn(joda-time:joda-time)
|
||||
BuildRequires: mvn(junit:junit)
|
||||
BuildRequires: mvn(org.apache.httpcomponents:httpclient)
|
||||
BuildArch: noarch
|
||||
%if 0%{?suse_version} > 1500
|
||||
BuildRequires: mvn(javax.xml.bind:jaxb-api)
|
||||
%endif
|
||||
|
||||
%description
|
||||
The AWS SDK for Java enables Java developers to easily work with
|
||||
@ -791,6 +794,10 @@ sed -i '/GuardedBy/d' \
|
||||
|
||||
%pom_remove_dep :aws-java-sdk-swf-libraries aws-java-sdk
|
||||
|
||||
%if 0%{?suse_version} > 1500
|
||||
%pom_add_dep javax.xml.bind:jaxb-api aws-java-sdk-core
|
||||
%endif
|
||||
|
||||
# Convert from dos to unix line ending
|
||||
dos2unix src/samples/AmazonEC2SpotInstances-Advanced/CreateSecurityGroupApp.java \
|
||||
src/samples/AmazonEC2SpotInstances-Advanced/GettingStartedApp.java \
|
||||
@ -847,10 +854,12 @@ dos2unix src/samples/AmazonEC2SpotInstances-Advanced/CreateSecurityGroupApp.java
|
||||
%files cloudwatch -f .mfiles-aws-java-sdk-cloudwatch
|
||||
|
||||
%files cloudwatchmetrics -f .mfiles-aws-java-sdk-cloudwatchmetrics
|
||||
|
||||
#%% files code-generator -f .mfiles-aws-java-sdk-code-generator
|
||||
%files codecommit -f .mfiles-aws-java-sdk-codecommit
|
||||
|
||||
%files codedeploy -f .mfiles-aws-java-sdk-codedeploy
|
||||
|
||||
#%% files codegen-maven-plugin -f .mfiles-aws-java-sdk-codegen-maven-plugin
|
||||
%files codepipeline -f .mfiles-aws-java-sdk-codepipeline
|
||||
|
||||
@ -966,6 +975,7 @@ dos2unix src/samples/AmazonEC2SpotInstances-Advanced/CreateSecurityGroupApp.java
|
||||
%files sts -f .mfiles-aws-java-sdk-sts
|
||||
|
||||
%files support -f .mfiles-aws-java-sdk-support
|
||||
|
||||
#%% files swf-libraries -f .mfiles-aws-java-sdk-swf-libraries
|
||||
#%% doc src/samples/AwsFlowFramework
|
||||
%files test-utils -f .mfiles-aws-java-sdk-test-utils
|
||||
|
Loading…
Reference in New Issue
Block a user