!4 Bring source file into correspondence with described in spec file

From: @wang--ge 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2022-11-15 01:02:35 +00:00 committed by Gitee
commit ac1e2636e0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 11 additions and 4 deletions

View File

@ -4,11 +4,12 @@
%global failjunit no
Name: rabbitmq-java-client
Version: 3.6.5
Release: 2
Release: 3
Summary: Java Advanced Message Queue Protocol client library
License: ASL 2.0 and GPLv2+ and MPLv1.1
License: Apache-2.0 and GPL-2.0-or-later and MPL-1.1
URL: http://www.rabbitmq.com/java-client.html
Source0: http://www.rabbitmq.com/releases/%{name}/v%{version}/%{name}-%{version}.tar.gz
Source0: https://github.com/rabbitmq/rabbitmq-java-client/archive/refs/tags/rabbitmq_v3_6_5.tar.gz
Source1: https://github.com/rabbitmq/rabbitmq-codegen/archive/refs/tags/rabbitmq_v3_6_5.zip
BuildArch: noarch
BuildRequires: maven-local mvn(commons-cli:commons-cli) mvn(commons-io:commons-io) mvn(junit:junit)
BuildRequires: ant ant-junit java-headless python3-devel >= 2.6 python3-simplejson
@ -37,7 +38,10 @@ Summary: Javadoc for %{name}
This package contains javadoc for %{name}.
%prep
%setup -q
%setup -q -n %{name}-rabbitmq_v3_6_5
cp %{SOURCE1} .
unzip rabbitmq_v3_6_5.zip
mv rabbitmq-codegen-rabbitmq_v3_6_5 codegen
find . -name "*.bat" -delete
find . -name "*.class" -delete
find . -name "*.jar" -print -delete
@ -83,6 +87,9 @@ pkill -f rabbitmq_server ||:
%license LICENSE*
%changelog
* Mon Nov 14 2022 Ge Wang <wangge20@h-partners.com> - 3.6.5-3
- bring source file into correspondence with described in spec file
* Tue Oct 27 2020 Anan Fu <fuanan3@huawei.com> - 3.6.5-2
- disable python2 module

BIN
rabbitmq_v3_6_5.zip Normal file

Binary file not shown.