代码拉取完成,页面将自动刷新
Name: canal
Version: 1.1.7
Release: 2
Summary: MySQL Binlog Incremental Subscription & Consuming Components
License: ASL 2.0
URL: https://github.com/alibaba/canal
Source0: https://github.com/alibaba/canal/archive/refs/tags/canal-1.1.7.tar.gz
Patch0001: backport-fixed-issue-#4930-check-embeddedServerstate.patch
Patch0002: backport-fixed-issue-#4923-support-fastJSON-Feature.LargeObject.patch
Patch0003: backport-fixed-issue-#4941-remove-default-passwd.patch
Patch0004: backport-Fixed-bug-where-cp-f-actually-failed.patch
BuildRequires: maven java
Requires: java
BuildArch: noarch
%description
MySQL Binlog Incremental Subscription & Consuming Components
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains javadoc for %{name}.
%package adapter
Summary: Adapter for %{name}
%description adapter
This package contains the adapter components for %{name}.
%prep
%autosetup -n canal-canal-%{version} -p1
find -name "*.jar" -delete
find -name "*.class" -delete
%build
mvn package -Dmaven.test.failure.ignore=true
%install
install -d %{buildroot}%{_datadir}/canal
cp -r deployer/target/canal/bin %{buildroot}%{_datadir}/canal
cp -r deployer/target/canal/conf %{buildroot}%{_datadir}/canal
cp -r deployer/target/canal/lib %{buildroot}%{_datadir}/canal
cp -r deployer/target/canal/logs %{buildroot}%{_datadir}/canal
# Adapter files
install -d %{buildroot}%{_datadir}/canal-adapter
cp -r client-adapter/launcher/target/canal-adapter/* %{buildroot}%{_datadir}/canal-adapter
install -d %{buildroot}%{_javadir}
find . -name "*.jar" | cp --parents `xargs` %{buildroot}%{_javadir}
install -d %{buildroot}%{_datadir}/canal/javadoc
find . -name "*.xml" | cp --parents `xargs` %{buildroot}%{_datadir}/canal/javadoc
%files
%license LICENSE.txt
%{_datadir}/canal/{bin,lib,conf,logs}
%{_javadir}
%files javadoc
%doc README.md
%{_datadir}/canal/javadoc
%files adapter
%{_datadir}/canal-adapter
%changelog
* Thu Aug 15 2024 zhangxingrong <[email protected]> - 1.1.7-2
- fixed issue #4930 , check embeddedServerstate
- fixed issue #4923 , support fastJSON Feature.LargeObject
- fixed issue #4941 , remove default passwd
- Fixed bug where cp -f actually failed,
* Wed Jun 19 2024 luxuexian <[email protected]> - 1.1.7-1
- update to 1.1.7, add canal-adapter subpackage
* Mon Jul 19 2021 huanghaitao <[email protected]> - 1.1.5-1
- package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。