From 842d2220fe6def8b7a1c382c172191f28edb32d0 Mon Sep 17 00:00:00 2001 From: Honza Horak Date: Mon, 28 Jul 2014 19:24:01 +0200 Subject: [PATCH] Use explicit sysconfdir --- mariadb.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mariadb.spec b/mariadb.spec index a90acb7..a745952 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -103,7 +103,7 @@ Name: %{pkgname} Version: 10.0.12 -Release: 5%{?dist} +Release: 6%{?dist} Epoch: 1 Summary: A community developed branch of MySQL @@ -533,6 +533,8 @@ cmake . -DBUILD_CONFIG=mysql_release \ -DNICE_PROJECT_NAME="MariaDB" \ -DRPM="%{?rhel:rhel%{rhel}}%{!?rhel:fedora%{fedora}}" \ -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ + -DINSTALL_SYSCONFDIR="%{_sysconfdir}" \ + -DINSTALL_SYSCONF2DIR="%{_sysconfdir}/my.cnf.d" \ %if 0%{?fedora} >= 20 -DINSTALL_DOCDIR="share/doc/%{name}" \ -DINSTALL_DOCREADMEDIR="share/doc/%{name}" \ @@ -1106,6 +1108,9 @@ fi %endif %changelog +* Mon Jul 28 2014 Honza Horak - 1:10.0.12-6 +- Use explicit sysconfdir + * Tue Jul 22 2014 Honza Horak - 1:10.0.12-5 - Hardcoded paths removed to work fine in chroot - Spec rewrite to be more similar to oterh MySQL implementations