代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/canal 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: canal
Version: 1.1.5
Release: 1
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.5.tar.gz
Patch0: Modify-JAVA_OPTS-to-fix-startup-failure.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}.
%prep
%autosetup -n canal-canal-%{version} -p1
find -name "*.jar" -delete
find -name "*.class" -delete
%build
mvn package
%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
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
%changelog
* Mon Jul 19 2021 huanghaitao <[email protected]> - 1.1.5-1
- package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。