Projects
Eulaceura:Factory
canal
_service:obs_scm:canal.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:canal.spec of Package canal
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 <zhangxingrong@uniontech.cn> - 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 <luxuexian@huawei.com> - 1.1.7-1 - update to 1.1.7, add canal-adapter subpackage * Mon Jul 19 2021 huanghaitao <huanghaitao8@huawei.com> - 1.1.5-1 - package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2