Compare commits
No commits in common. "542550a09e25d33b88dbae7818f5ed42847520d7" and "d55ec295f22ed588e7081135ff1454d22caaaab1" have entirely different histories.
542550a09e
...
d55ec295f2
File diff suppressed because it is too large
Load Diff
BIN
galera-3-25.3.26.tar.gz
Normal file
BIN
galera-3-25.3.26.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
33
galera.spec
33
galera.spec
@ -1,11 +1,11 @@
|
||||
%global galeradoc %{buildroot}%{_docdir}/galera
|
||||
Name: galera
|
||||
Version: 26.4.16
|
||||
Release: 1
|
||||
Version: 25.3.26
|
||||
Release: 4
|
||||
Summary: Synchronous multi-master replication library
|
||||
License: GPLv2
|
||||
URL: http://galeracluster.com/
|
||||
Source0: http://releases.galeracluster.com/%{name}-4.16/source/%{name}-4-%{version}.tar.gz
|
||||
Source0: http://releases.galeracluster.com/%{name}-3.26/source/%{name}-3-%{version}.tar.gz
|
||||
Source1: garbd.service
|
||||
#systemd startup script
|
||||
Source2: garbd-wrapper
|
||||
@ -13,8 +13,6 @@ Source2: garbd-wrapper
|
||||
#Use decode to make the SConstruct Python3 compatible
|
||||
#https://github.com/codership/galera/commit/71685db8da72b81a0950c19269281d10ae179706.patch
|
||||
Patch0000: galera-python3.patch
|
||||
# https://salsa.debian.org/mariadb-team/galera-4/-/commit/19f010d78a98d8c481b57de27b0b59cdad8b979d
|
||||
Patch0001: Apply-upstream-patches-from-codership-galera-558.patch
|
||||
|
||||
BuildRequires: asio-devel boost-devel check-devel gcc-c++ openssl-devel python3-scons systemd
|
||||
Requires: nmap-ncat
|
||||
@ -25,9 +23,7 @@ Requires(post,preun,postun): systemd
|
||||
This is Galera replication - Codership's implementation of the write set replication (wsrep) interface.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-4-%{version} -p1
|
||||
|
||||
sed -i '/^GALERA_VER/s/API + //' wsrep/tests/SConscript
|
||||
%autosetup -n %{name}-3-%{version} -p1
|
||||
|
||||
%build
|
||||
%{set_build_flags}
|
||||
@ -37,11 +33,13 @@ CFLAGS=`echo $CFLAGS| sed -e "s|-Wp,-D_GLIBCXX_ASSERTIONS||g" `
|
||||
CXXFLAGS=`echo $CXXFLAGS| sed -e "s|-Wp,-D_GLIBCXX_ASSERTIONS||g" `
|
||||
export CPPFLAGS CFLAGS CXXFLAGS
|
||||
|
||||
scons-3 %{?_smp_mflags} strict_build_flags=0
|
||||
scons-3 %{?_smp_mflags} strict_build_flags=1
|
||||
|
||||
%install
|
||||
install -D -m 644 COPYING %{galeradoc}/COPYING
|
||||
install -D -m 644 asio/LICENSE_1_0.txt %{galeradoc}/LICENSE.asio
|
||||
install -D -m 644 chromium/LICENSE %{galeradoc}/LICENSE.chromium
|
||||
install -D -m 644 www.evanjones.ca/LICENSE %{galeradoc}/LICENSE.crc32
|
||||
install -D -m 644 scripts/packages/README %{galeradoc}/README
|
||||
install -D -m 644 scripts/packages/README-MySQL %{galeradoc}/README-MySQL
|
||||
install -D -m 644 garb/files/garb.cnf %{buildroot}%{_sysconfdir}/sysconfig/garb
|
||||
@ -71,26 +69,11 @@ install -D -m 755 libgalera_smm.so %{buildroot}%{_libdir}/galera/li
|
||||
%{_unitdir}/garbd.service
|
||||
|
||||
%changelog
|
||||
* Wed Dec 06 2023 yaoxin <yao_xin001@hoperun.com> - 26.4.16-1
|
||||
- Upgrade to 26.4.16 and fix build error
|
||||
|
||||
* Tue Oct 31 2023 wangkai <13474090681@163.com> - 26.4.14-1
|
||||
- Update to 26.4.14
|
||||
|
||||
* Thu Dec 22 2022 wanglin <wangl29@chinatelecom.cn> - 26.4.8-2
|
||||
- Set strict_build_flags=0 and fix changelog date
|
||||
|
||||
* Wed Aug 25 2021 lingsheng <lingsheng@huawei.com> - 26.4.8-1
|
||||
- Update to 26.4.8
|
||||
|
||||
* Mon Aug 16 2021 lingsheng <lingsheng@huawei.com> - 25.3.26-5
|
||||
- Remove unsupported reload option
|
||||
|
||||
* Wed Jul 21 2021 lingsheng <lingsheng@huawei.com> - 25.3.26-4
|
||||
- Remove unnecessary buildrequire gdb
|
||||
|
||||
* Sat Mar 21 2020 songnannan <songnannan2@huawei.com> - 25.3.26-3
|
||||
- add gdb in buildrequires
|
||||
|
||||
* Wed Mar 4 2020 zhouyihang<zhouyihang1@huawei.com> - 25.3.26-2
|
||||
* Thu Mar 4 2020 zhouyihang<zhouyihang1@huawei.com> - 25.3.26-2
|
||||
- Pakcage init
|
||||
|
||||
@ -4,6 +4,7 @@ Documentation=https://galeracluster.com/library/documentation/arbitrator.html
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/garbd-wrapper
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user