Bring source file into correspondence with described in spec file

This commit is contained in:
wang--ge 2022-11-14 14:21:01 +08:00
parent 41f23e04f0
commit bf8a8eb4ed
3 changed files with 11 additions and 4 deletions

View File

@ -4,11 +4,12 @@
%global failjunit no %global failjunit no
Name: rabbitmq-java-client Name: rabbitmq-java-client
Version: 3.6.5 Version: 3.6.5
Release: 2 Release: 3
Summary: Java Advanced Message Queue Protocol client library 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 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 BuildArch: noarch
BuildRequires: maven-local mvn(commons-cli:commons-cli) mvn(commons-io:commons-io) mvn(junit:junit) 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 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}. This package contains javadoc for %{name}.
%prep %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 "*.bat" -delete
find . -name "*.class" -delete find . -name "*.class" -delete
find . -name "*.jar" -print -delete find . -name "*.jar" -print -delete
@ -83,6 +87,9 @@ pkill -f rabbitmq_server ||:
%license LICENSE* %license LICENSE*
%changelog %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 * Tue Oct 27 2020 Anan Fu <fuanan3@huawei.com> - 3.6.5-2
- disable python2 module - disable python2 module

BIN
rabbitmq_v3_6_5.zip Normal file

Binary file not shown.