From 025ecbc1edfd92d84f1cf6bca23bba8aa2f1271577ab43bc4e075903d9e72be2 Mon Sep 17 00:00:00 2001 From: "Michal Hrusecky (old before rename to _miska_)" Date: Tue, 26 Mar 2013 12:57:24 +0000 Subject: [PATCH] update OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=113 --- build.inc | 1 + configuration-tweaks.tar.bz2 | 4 ++-- mariadb-5.5.29.tar.bz2 | 3 --- mariadb-5.5.30.tar.bz2 | 3 +++ mariadb.changes | 14 ++++++++++++++ mariadb.spec | 21 +++++++-------------- mysql-patches.tar.bz2 | 4 ++-- 7 files changed, 29 insertions(+), 21 deletions(-) delete mode 100644 mariadb-5.5.29.tar.bz2 create mode 100644 mariadb-5.5.30.tar.bz2 diff --git a/build.inc b/build.inc index 284ef12..b206e85 100644 --- a/build.inc +++ b/build.inc @@ -109,6 +109,7 @@ BuildMySQL() { -DWITH_INNOBASE_STORAGE_ENGINE=1 \ -DWITH_PERFSCHEMA_STORAGE_ENGINE=1 \ -DWITH_EMBEDDED_SERVER=true \ + -DCOMPILATION_COMMENT="openSUSE package" \ -DDENABLE_DOWNLOADS=false \ "$@" .. make %{?jobs:-j%jobs} diff --git a/configuration-tweaks.tar.bz2 b/configuration-tweaks.tar.bz2 index c467e65..fbc2f39 100644 --- a/configuration-tweaks.tar.bz2 +++ b/configuration-tweaks.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9d7787ba1d8fcb24323d602ecf38185504f9b0edfca9e00533045c88867a9c42 -size 220 +oid sha256:1abd3f67af2880a6b0f4b66131516cfa1ca5df16713e7e972197184c47525e11 +size 319 diff --git a/mariadb-5.5.29.tar.bz2 b/mariadb-5.5.29.tar.bz2 deleted file mode 100644 index 2d7c5fe..0000000 --- a/mariadb-5.5.29.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5d6df248b16736c2d3e9f163bb672390d59625f28520410bb746cf8a6d843dfc -size 21299322 diff --git a/mariadb-5.5.30.tar.bz2 b/mariadb-5.5.30.tar.bz2 new file mode 100644 index 0000000..b9825ec --- /dev/null +++ b/mariadb-5.5.30.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a964665ed6bcf1cec9785a7d5ce5e093b44bc5107acfa747320a70f2834c19d5 +size 21257832 diff --git a/mariadb.changes b/mariadb.changes index 001a550..49020f4 100644 --- a/mariadb.changes +++ b/mariadb.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Tue Mar 26 13:56:50 CET 2013 - mhrusecky@suse.cz + +- little cleanup of systemd + +------------------------------------------------------------------- +Tue Mar 26 11:11:37 CET 2013 - mhrusecky@suse.cz + +- updated to MariaDB 5.5.29 + * Release notes: + http://kb.askmonty.org/v/mariadb-5529-release-notes + * Changelog: + http://kb.askmonty.org/v/mariadb-5529-changelog + ------------------------------------------------------------------- Tue Mar 12 16:03:07 UTC 2013 - tpaszkowski@suse.com diff --git a/mariadb.spec b/mariadb.spec index 9932c5a..cddee93 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -35,9 +35,9 @@ Name: mariadb Summary: Server part of MariaDB License: SUSE-GPL-2.0-with-FLOSS-exception Group: Productivity/Databases/Servers -Version: 5.5.29 +Version: 5.5.30 Release: 0 -%define srv_vers 5.5.29 +%define srv_vers 5.5.30 Url: http://www.mariab.org Source: mariadb-%{version}.tar.bz2 Source2: baselibs.conf @@ -77,9 +77,6 @@ BuildRequires: fdupes %if 0%{?fedora_version} > 11 BuildRequires: sqlite %endif -%if 0%{?suse_version} >= 1210 -BuildRequires: systemd -%endif %if 0%{?suse_version} > 1030 Recommends: logrotate %else @@ -91,6 +88,7 @@ Requires: %{name}-errormessages = %version Requires: perl-base # systemd requirements for openSUSE >= 12.1 %if 0%{?suse_version} >= 1210 +BuildRequires: systemd %{?systemd_requires} %endif Provides: mysql = %{srv_vers} @@ -396,10 +394,6 @@ rm -f mysql-test/t/file_contents.test mysql-test/r/file_contents.result ####################################################################### %preun [ $1 = 1 ] || /usr/sbin/rcmysql stop -# systemd requirment -%if 0%{?suse_version} >= 1210 -%service_del_preun mysql.service -%endif %pretrans -p if posix.access("/usr/sbin/rcmysql", "x") then @@ -410,7 +404,6 @@ if posix.access("/usr/sbin/rcmysql", "x") then os.execute("/bin/mkdir -p /var/run/mysql/restart") end end - dbfile="var/mysql/mysql/db.ISM" olddir="var/mysql" newdir="var/lib/mysql" @@ -463,11 +456,11 @@ fi if [ $1 = 0 ]; then %install_info_delete --info-dir=%{_infodir} %{_infodir}/mysql.info.* %{insserv_cleanup} + rm -f "/var/lib/systemd/migrated/mysql.service" + if [ -x /usr/bin/systemctl ]; then + /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || : + fi fi -# systemd requirment -%if 0%{?suse_version} >= 1210 -%service_del_postun mysql.service -%endif ####################################################################### # Files section # diff --git a/mysql-patches.tar.bz2 b/mysql-patches.tar.bz2 index 90bb7fe..2d6805b 100644 --- a/mysql-patches.tar.bz2 +++ b/mysql-patches.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ab62b051b2d913334d421d92dfbe156e55e5571fd163f57d1c58587550ae9341 -size 11762 +oid sha256:58dbc3e1be513b1b61c81dacd3fd6899ed364ed93f0f04e2c0cbc066d62b5582 +size 11760