2014-04-28 13:56:12 +00:00
|
|
|
Name: galera
|
2020-11-04 15:05:16 +00:00
|
|
|
Version: 26.4.6
|
2021-01-22 20:51:49 +00:00
|
|
|
Release: 2%{?dist}
|
2014-04-28 13:56:12 +00:00
|
|
|
Summary: Synchronous multi-master wsrep provider (replication engine)
|
|
|
|
|
|
|
|
License: GPLv2
|
2015-09-25 11:24:58 +00:00
|
|
|
URL: http://galeracluster.com/
|
2018-02-16 11:22:13 +00:00
|
|
|
|
|
|
|
# Actually, the truth is, we do use galera source tarball provided by MariaDB on
|
|
|
|
# following URL (without macros):
|
2020-11-11 01:39:02 +00:00
|
|
|
# https://archive.mariadb.org/mariadb-10.4.16/galera-26.4.6/src/galera-26.4.6.tar.gz
|
2018-02-16 11:22:13 +00:00
|
|
|
|
2017-11-24 14:48:32 +00:00
|
|
|
Source0: http://releases.galeracluster.com/source/%{name}-%{version}.tar.gz
|
2015-07-06 16:16:39 +00:00
|
|
|
|
2014-04-28 13:56:12 +00:00
|
|
|
Source1: garbd.service
|
|
|
|
Source2: garbd-wrapper
|
|
|
|
|
2018-07-13 14:09:57 +00:00
|
|
|
Patch0: galera-python3.patch
|
|
|
|
|
2018-07-16 15:03:20 +00:00
|
|
|
BuildRequires: boost-devel check-devel openssl-devel python3-scons systemd gcc-c++ asio-devel
|
2014-04-28 13:56:12 +00:00
|
|
|
Requires: nmap-ncat
|
|
|
|
|
2020-01-18 15:02:14 +00:00
|
|
|
%{?systemd_requires}
|
2014-04-28 13:56:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
Galera is a fast synchronous multi-master wsrep provider (replication engine)
|
|
|
|
for transactional databases and similar applications. For more information
|
|
|
|
about wsrep API see http://launchpad.net/wsrep. For a description of Galera
|
|
|
|
replication engine see http://www.codership.com.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2017-11-24 14:48:32 +00:00
|
|
|
%setup -q
|
2018-07-13 14:09:57 +00:00
|
|
|
%patch0 -p1
|
2014-04-28 13:56:12 +00:00
|
|
|
|
|
|
|
%build
|
2019-07-19 15:14:50 +00:00
|
|
|
%{set_build_flags}
|
|
|
|
|
2019-06-19 00:02:20 +00:00
|
|
|
# Print help:
|
2019-07-20 11:48:35 +00:00
|
|
|
# scons-3 --help
|
|
|
|
# scons-3 -H
|
|
|
|
|
|
|
|
# Possibly usefull arguments:
|
|
|
|
# --debug=findlibs
|
|
|
|
# --debug=stacktrace
|
|
|
|
# --warn=all
|
|
|
|
# debug=0
|
|
|
|
|
2020-09-16 12:18:57 +00:00
|
|
|
# Workaround for FTBFS on F33+
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1863592
|
|
|
|
# Reported upstream:
|
|
|
|
# https://github.com/codership/galera/issues/577
|
2020-11-04 15:05:16 +00:00
|
|
|
# Update for 26.4.6: The strict_build_flags still FTBFS on armv7hl and i686
|
2020-09-17 06:42:57 +00:00
|
|
|
%if 0%{?fedora} >= 33 || 0%{?rhel} >= 9
|
2020-09-16 12:18:57 +00:00
|
|
|
scons-3 %{?_smp_mflags} strict_build_flags=0
|
|
|
|
%else
|
2019-07-19 15:14:50 +00:00
|
|
|
scons-3 %{?_smp_mflags} strict_build_flags=1
|
2020-09-16 12:18:57 +00:00
|
|
|
%endif
|
2019-07-20 11:48:35 +00:00
|
|
|
|
2014-04-28 13:56:12 +00:00
|
|
|
%install
|
|
|
|
install -D -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/garbd.service
|
|
|
|
install -D -m 755 %{SOURCE2} %{buildroot}%{_sbindir}/garbd-wrapper
|
|
|
|
install -D -m 755 garb/garbd %{buildroot}%{_sbindir}/garbd
|
|
|
|
install -D -m 755 libgalera_smm.so %{buildroot}%{_libdir}/galera/libgalera_smm.so
|
|
|
|
install -D -m 644 garb/files/garb.cnf %{buildroot}%{_sysconfdir}/sysconfig/garb
|
|
|
|
install -D -m 644 COPYING %{buildroot}%{_docdir}/galera/COPYING
|
|
|
|
install -D -m 644 asio/LICENSE_1_0.txt %{buildroot}%{_docdir}/galera/LICENSE.asio
|
|
|
|
install -D -m 644 scripts/packages/README %{buildroot}%{_docdir}/galera/README
|
|
|
|
install -D -m 644 scripts/packages/README-MySQL %{buildroot}%{_docdir}/galera/README-MySQL
|
|
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
%systemd_post garbd.service
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%systemd_preun garbd.service
|
|
|
|
|
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
|
|
|
%systemd_postun_with_restart garbd.service
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%config(noreplace,missingok) %{_sysconfdir}/sysconfig/garb
|
|
|
|
%dir %{_docdir}/galera
|
|
|
|
%dir %{_libdir}/galera
|
|
|
|
%{_sbindir}/garbd
|
|
|
|
%{_sbindir}/garbd-wrapper
|
|
|
|
%{_unitdir}/garbd.service
|
|
|
|
%{_libdir}/galera/libgalera_smm.so
|
|
|
|
%doc %{_docdir}/galera/COPYING
|
|
|
|
%doc %{_docdir}/galera/LICENSE.asio
|
|
|
|
%doc %{_docdir}/galera/README
|
|
|
|
%doc %{_docdir}/galera/README-MySQL
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2021-01-22 20:51:49 +00:00
|
|
|
* Fri Jan 22 2021 Jonathan Wakely <jwakely@redhat.com> - 26.4.6-2
|
|
|
|
- Rebuilt for Boost 1.75
|
|
|
|
|
2020-11-04 15:05:16 +00:00
|
|
|
* Wed Nov 04 2020 Michal Schorm <mschorm@redhat.com> - 26.4.6-1
|
|
|
|
- Rebase to 26.4.6
|
|
|
|
|
2020-09-17 06:42:57 +00:00
|
|
|
* Thu Sep 17 2020 Michal Schorm <mschorm@redhat.com> - 26.4.5-2
|
|
|
|
- Extend the workaround also to ELN
|
|
|
|
|
2020-09-16 13:04:34 +00:00
|
|
|
* Wed Sep 16 2020 Michal Schorm <mschorm@redhat.com> - 26.4.5-1
|
|
|
|
- Rebase to 26.4.5
|
|
|
|
|
2020-09-16 12:18:57 +00:00
|
|
|
* Wed Sep 16 2020 Michal Schorm <mschorm@redhat.com> - 26.4.4-5
|
|
|
|
- Apply workaround for FTBFS on F33+
|
|
|
|
|
2020-08-01 01:05:57 +00:00
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 26.4.4-4
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-27 18:00:46 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 26.4.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-06-08 08:47:02 +00:00
|
|
|
* Mon Jun 08 2020 Michal Schorm <mschorm@redhat.com> - 26.4.4-2
|
|
|
|
- Second rebuild for Boost 1.73
|
|
|
|
|
2020-06-05 07:49:30 +00:00
|
|
|
* Fri Jun 05 2020 Michal Schorm <mschorm@redhat.com> - 26.4.4-1
|
|
|
|
- Rebase to 26.4.4
|
|
|
|
Resolves: rhbz#1546787
|
|
|
|
|
2020-05-28 20:13:08 +00:00
|
|
|
* Thu May 28 2020 Jonathan Wakely <jwakely@redhat.com> - 26.4.3-4
|
|
|
|
- Rebuilt for Boost 1.73
|
|
|
|
|
2020-01-28 19:13:59 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 26.4.3-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2020-01-18 15:02:14 +00:00
|
|
|
* Sat Jan 18 2020 Michal Schorm <mschorm@redhat.com> - 26.4.3-2
|
|
|
|
- Rebase to 26.4.3
|
|
|
|
|
2019-11-06 12:50:55 +00:00
|
|
|
* Wed Nov 06 2019 Michal Schorm <mschorm@redhat.com> - 25.3.28-1
|
|
|
|
- Rebase to 25.3.28
|
|
|
|
|
|
|
|
* Thu Aug 01 2019 Michal Schorm <mschorm@redhat.com> - 25.3.26-3
|
2019-08-02 17:36:11 +00:00
|
|
|
- Fix for #1735233 and #1737108
|
|
|
|
|
2019-07-25 01:15:34 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 25.3.26-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-07-19 15:29:26 +00:00
|
|
|
* Fri Jul 19 2019 Michal Schorm <mschorm@redhat.com> - 25.3.26-1
|
2019-06-12 17:03:41 +00:00
|
|
|
- Rebase to 25.3.26
|
|
|
|
|
2019-07-19 15:14:50 +00:00
|
|
|
* Fri Jul 19 2019 Michal Schorm <mschorm@redhat.com> - 25.3.25-4
|
|
|
|
- Use macro for setting up the compiler flags
|
|
|
|
|
2019-01-31 20:23:07 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 25.3.25-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2019-01-29 23:36:41 +00:00
|
|
|
* Tue Jan 29 2019 Jonathan Wakely <jwakely@redhat.com> - 25.3.25-2
|
|
|
|
- Rebuilt for Boost 1.69
|
|
|
|
|
2019-06-12 16:50:10 +00:00
|
|
|
* Tue Jan 01 2019 Michal Schorm <mschorm@redhat.com> - 25.3.25-1
|
2019-01-03 03:30:14 +00:00
|
|
|
- Rebase to 25.3.25
|
|
|
|
|
2018-07-16 15:03:20 +00:00
|
|
|
* Mon Jul 16 2018 Honza Horak <hhorak@redhat.com> - 25.3.23-5
|
|
|
|
- Require asio also on rhel
|
|
|
|
|
2018-07-13 13:03:51 +00:00
|
|
|
* Fri Jul 13 2018 Honza Horak <hhorak@redhat.com> - 25.3.23-4
|
|
|
|
- Add explicit gcc-c++ BR
|
2018-07-13 14:09:57 +00:00
|
|
|
- Use python3-scons
|
2018-07-13 13:03:51 +00:00
|
|
|
|
2018-07-13 11:30:31 +00:00
|
|
|
* Fri Jul 13 2018 Honza Horak <hhorak@redhat.com> - 25.3.23-3
|
|
|
|
- Do not require asio on rhel
|
|
|
|
|
2018-07-13 00:59:59 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 25.3.23-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-16 11:22:13 +00:00
|
|
|
* Fri Feb 16 2018 Michal Schorm <mschorm@redhat.com> - 25.3.23-1
|
|
|
|
- Update to 25.3.23
|
|
|
|
|
2018-02-07 10:25:02 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 25.3.22-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-11-24 14:48:32 +00:00
|
|
|
* Fri Nov 24 2017 Honza Horak <hhorak@redhat.com> - 25.3.22-1
|
|
|
|
- Update to 25.3.22
|
|
|
|
|
2017-08-02 20:54:32 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 25.3.16-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 08:57:27 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 25.3.16-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-07-03 17:54:27 +00:00
|
|
|
* Mon Jul 03 2017 Jonathan Wakely <jwakely@redhat.com> - 25.3.16-4
|
|
|
|
- Rebuilt for Boost 1.64
|
|
|
|
|
2017-05-15 21:03:39 +00:00
|
|
|
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 25.3.16-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
|
|
|
|
|
2017-02-18 00:34:18 +00:00
|
|
|
* Sat Feb 18 2017 Jonathan Wakely <jwakely@redhat.com> - 25.3.16-2
|
|
|
|
- Use asio-devel instead of bundled asio library
|
|
|
|
|
2017-02-10 10:08:01 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 25.3.16-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-06-22 14:40:19 +00:00
|
|
|
* Wed Jun 22 2016 Mike Bayer <mbayer@redhat.com> - 25.3.16-1
|
|
|
|
- Update to 25.3.16
|
|
|
|
|
2016-02-03 20:56:45 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 25.3.12-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2016-01-15 05:58:28 +00:00
|
|
|
* Fri Jan 15 2016 Jonathan Wakely <jwakely@redhat.com> - 25.3.12-3
|
|
|
|
- Rebuilt for Boost 1.60
|
|
|
|
|
2015-10-26 15:29:02 +00:00
|
|
|
* Wed Sep 30 2015 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 25.3.12-2
|
|
|
|
- Remove use of -mtune=native which breaks build on secondary architectures
|
|
|
|
|
2015-09-25 11:24:58 +00:00
|
|
|
* Fri Sep 25 2015 Richard W.M. Jones <rjones@redhat.com> - 25.3.12-1
|
|
|
|
- Update to 25.3.12.
|
|
|
|
- Should fix the build on 32 bit ARM (RHBZ#1241164).
|
2015-09-25 11:29:04 +00:00
|
|
|
- Remove ExcludeArch (should have read the BZ more closely).
|
2015-09-25 11:24:58 +00:00
|
|
|
|
2015-08-27 20:34:37 +00:00
|
|
|
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 25.3.10-5
|
|
|
|
- Rebuilt for Boost 1.59
|
|
|
|
|
2015-07-29 17:16:30 +00:00
|
|
|
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 25.3.10-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
|
|
|
|
|
2015-07-22 16:31:25 +00:00
|
|
|
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 25.3.10-3
|
|
|
|
- rebuild for Boost 1.58
|
|
|
|
|
2015-07-08 15:45:19 +00:00
|
|
|
* Wed Jul 08 2015 Ryan O'Hara <rohara@redhat.com> - 25.3.10-2
|
|
|
|
- Disable ARM builds (#1241164, #1239516)
|
|
|
|
|
2015-07-06 16:16:39 +00:00
|
|
|
* Mon Jul 06 2015 Ryan O'Hara <rohara@redhat.com> - 25.3.10-1
|
|
|
|
- Update to version 25.3.10
|
|
|
|
|
2015-06-17 06:54:49 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 25.3.5-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-01-26 22:00:44 +00:00
|
|
|
* Mon Jan 26 2015 Petr Machata <pmachata@redhat.com> - 25.3.5-10
|
|
|
|
- Rebuild for boost 1.57.0
|
|
|
|
|
2014-11-27 22:01:25 +00:00
|
|
|
* Thu Nov 27 2014 Richard W.M. Jones <rjones@redhat.com> - 25.3.5-9
|
|
|
|
- Add aarch64 support.
|
|
|
|
|
2014-08-16 13:36:12 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 25.3.5-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 13:15:30 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 25.3.5-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-23 00:56:12 +00:00
|
|
|
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 25.3.5-6
|
|
|
|
- Rebuild for boost 1.55.0
|
|
|
|
|
2014-04-30 08:00:45 +00:00
|
|
|
* Wed Apr 30 2014 Dan Horák <dan[at]danny.cz> - 25.3.5-5
|
|
|
|
- set ExclusiveArch
|
|
|
|
|
2014-04-28 13:56:12 +00:00
|
|
|
* Thu Apr 24 2014 Ryan O'Hara <rohara@redhat.com> - 25.3.5-4
|
|
|
|
- Use strict_build_flags=0 to avoid -Werror
|
2015-07-06 16:16:39 +00:00
|
|
|
- Remove unnecessary clean section
|
2014-04-28 13:56:12 +00:00
|
|
|
|
|
|
|
* Thu Apr 24 2014 Ryan O'Hara <rohara@redhat.com> - 25.3.5-3
|
|
|
|
- Include galera directories in file list
|
|
|
|
- Set CPPFLAGS to optflags
|
|
|
|
|
|
|
|
* Wed Apr 23 2014 Ryan O'Hara <rohara@redhat.com> - 25.3.5-2
|
|
|
|
- Fix client certificate verification (#1090604)
|
|
|
|
|
|
|
|
* Thu Mar 27 2014 Ryan O'Hara <rohara@redhat.com> - 25.3.5-1
|
|
|
|
- Update to version 25.3.5
|
|
|
|
|
|
|
|
* Mon Mar 24 2014 Ryan O'Hara <rohara@redhat.com> - 25.3.3-2
|
|
|
|
- Add systemd service
|
|
|
|
|
|
|
|
* Sun Mar 09 2014 Ryan O'Hara <rohara@redhat.com> - 25.3.3-1
|
|
|
|
- Initial build
|