Name: galera Version: 26.4.8 Release: 1%{?dist} Summary: Synchronous multi-master wsrep provider (replication engine) License: GPLv2 URL: http://galeracluster.com/ # Actually, the truth is, we do use galera source tarball provided by MariaDB on # following URL (without macros): # https://archive.mariadb.org/mariadb-10.4.16/galera-26.4.6/src/galera-26.4.6.tar.gz Source0: http://releases.galeracluster.com/source/%{name}-%{version}.tar.gz Source1: garbd.service Source2: garbd-wrapper Patch0: galera-python3.patch BuildRequires: boost-devel check-devel openssl-devel python3-scons systemd gcc-c++ asio-devel Requires: nmap-ncat %{?systemd_requires} %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 %setup -q %patch0 -p1 # Fix for BZ#1959484 # The script is checking the version without the wsrep API number (the first number separated by dot) # This could be caused by wrongly providing the version from wsrep_load function # Issue is already reported here: https://github.com/codership/galera/issues/596 # So we can temporary remove API version from the test to make it work, however, we will wait for the upstream's # solution in the issue linked above sed -i '/^GALERA_VER/s/API + //' wsrep/tests/SConscript %build %{set_build_flags} # Print help: # scons-3 --help # scons-3 -H # Possibly usefull arguments: # --debug=findlibs # --debug=stacktrace # --warn=all # debug=0 # Workaround for version 26.4.7 export CXXFLAGS="$CXXFLAGS -Wno-error=format-extra-args" # ... and for 32 bit arches export CXXFLAGS="$CXXFLAGS -Wno-error=format" export CFLAGS="$CFLAGS -Wno-error=format-extra-args -Wno-error=format" # end of workaroound scons-3 %{?_smp_mflags} strict_build_flags=1 %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 * Thu Jun 03 2021 Lukas Javorsky - 26.4.8-1 - Rebase to 26.4.8 * Wed Jun 16 2021 Mohan Boddu - 26.4.7-3 - Rebuilt for RHEL 9 BETA for openssl 3.0 Related: rhbz#1971065 * Thu Apr 15 2021 Mohan Boddu - 26.4.7-2 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 * Tue Feb 23 2021 Michal Schorm - 26.4.7-1 - Rebase to 26.4.7 * Tue Jan 26 2021 Fedora Release Engineering - 26.4.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Jan 22 2021 Jonathan Wakely - 26.4.6-2 - Rebuilt for Boost 1.75 * Wed Nov 04 2020 Michal Schorm - 26.4.6-1 - Rebase to 26.4.6 * Thu Sep 17 2020 Michal Schorm - 26.4.5-2 - Extend the workaround also to ELN * Wed Sep 16 2020 Michal Schorm - 26.4.5-1 - Rebase to 26.4.5 * Wed Sep 16 2020 Michal Schorm - 26.4.4-5 - Apply workaround for FTBFS on F33+ * Sat Aug 01 2020 Fedora Release Engineering - 26.4.4-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 26.4.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 08 2020 Michal Schorm - 26.4.4-2 - Second rebuild for Boost 1.73 * Fri Jun 05 2020 Michal Schorm - 26.4.4-1 - Rebase to 26.4.4 Resolves: rhbz#1546787 * Thu May 28 2020 Jonathan Wakely - 26.4.3-4 - Rebuilt for Boost 1.73 * Tue Jan 28 2020 Fedora Release Engineering - 26.4.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Jan 18 2020 Michal Schorm - 26.4.3-2 - Rebase to 26.4.3 * Wed Nov 06 2019 Michal Schorm - 25.3.28-1 - Rebase to 25.3.28 * Thu Aug 01 2019 Michal Schorm - 25.3.26-3 - Fix for #1735233 and #1737108 * Thu Jul 25 2019 Fedora Release Engineering - 25.3.26-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Jul 19 2019 Michal Schorm - 25.3.26-1 - Rebase to 25.3.26 * Fri Jul 19 2019 Michal Schorm - 25.3.25-4 - Use macro for setting up the compiler flags * Thu Jan 31 2019 Fedora Release Engineering - 25.3.25-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Jan 29 2019 Jonathan Wakely - 25.3.25-2 - Rebuilt for Boost 1.69 * Tue Jan 01 2019 Michal Schorm - 25.3.25-1 - Rebase to 25.3.25 * Mon Jul 16 2018 Honza Horak - 25.3.23-5 - Require asio also on rhel * Fri Jul 13 2018 Honza Horak - 25.3.23-4 - Add explicit gcc-c++ BR - Use python3-scons * Fri Jul 13 2018 Honza Horak - 25.3.23-3 - Do not require asio on rhel * Fri Jul 13 2018 Fedora Release Engineering - 25.3.23-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 16 2018 Michal Schorm - 25.3.23-1 - Update to 25.3.23 * Wed Feb 07 2018 Fedora Release Engineering - 25.3.22-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Nov 24 2017 Honza Horak - 25.3.22-1 - Update to 25.3.22 * Wed Aug 02 2017 Fedora Release Engineering - 25.3.16-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 25.3.16-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jul 03 2017 Jonathan Wakely - 25.3.16-4 - Rebuilt for Boost 1.64 * Mon May 15 2017 Fedora Release Engineering - 25.3.16-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild * Sat Feb 18 2017 Jonathan Wakely - 25.3.16-2 - Use asio-devel instead of bundled asio library * Fri Feb 10 2017 Fedora Release Engineering - 25.3.16-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Jun 22 2016 Mike Bayer - 25.3.16-1 - Update to 25.3.16 * Wed Feb 03 2016 Fedora Release Engineering - 25.3.12-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Jan 15 2016 Jonathan Wakely - 25.3.12-3 - Rebuilt for Boost 1.60 * Wed Sep 30 2015 Marcin Juszkiewicz - 25.3.12-2 - Remove use of -mtune=native which breaks build on secondary architectures * Fri Sep 25 2015 Richard W.M. Jones - 25.3.12-1 - Update to 25.3.12. - Should fix the build on 32 bit ARM (RHBZ#1241164). - Remove ExcludeArch (should have read the BZ more closely). * Thu Aug 27 2015 Jonathan Wakely - 25.3.10-5 - Rebuilt for Boost 1.59 * Wed Jul 29 2015 Fedora Release Engineering - 25.3.10-4 - Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159 * Wed Jul 22 2015 David Tardon - 25.3.10-3 - rebuild for Boost 1.58 * Wed Jul 08 2015 Ryan O'Hara - 25.3.10-2 - Disable ARM builds (#1241164, #1239516) * Mon Jul 06 2015 Ryan O'Hara - 25.3.10-1 - Update to version 25.3.10 * Wed Jun 17 2015 Fedora Release Engineering - 25.3.5-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Jan 26 2015 Petr Machata - 25.3.5-10 - Rebuild for boost 1.57.0 * Thu Nov 27 2014 Richard W.M. Jones - 25.3.5-9 - Add aarch64 support. * Sat Aug 16 2014 Fedora Release Engineering - 25.3.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 25.3.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri May 23 2014 Petr Machata - 25.3.5-6 - Rebuild for boost 1.55.0 * Wed Apr 30 2014 Dan HorĂ¡k - 25.3.5-5 - set ExclusiveArch * Thu Apr 24 2014 Ryan O'Hara - 25.3.5-4 - Use strict_build_flags=0 to avoid -Werror - Remove unnecessary clean section * Thu Apr 24 2014 Ryan O'Hara - 25.3.5-3 - Include galera directories in file list - Set CPPFLAGS to optflags * Wed Apr 23 2014 Ryan O'Hara - 25.3.5-2 - Fix client certificate verification (#1090604) * Thu Mar 27 2014 Ryan O'Hara - 25.3.5-1 - Update to version 25.3.5 * Mon Mar 24 2014 Ryan O'Hara - 25.3.3-2 - Add systemd service * Sun Mar 09 2014 Ryan O'Hara - 25.3.3-1 - Initial build