From 79362ec511dfe98ad3abc8ce035ee6c42a323d34 Mon Sep 17 00:00:00 2001 From: Honza Horak Date: Wed, 1 Feb 2017 12:42:38 +0100 Subject: [PATCH] Add comment about why we need config subpackage. --- mariadb.spec | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/mariadb.spec b/mariadb.spec index 27eff88..b2eb4d2 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -295,6 +295,15 @@ to a MariaDB/MySQL server. MariaDB is a community developed branch of MySQL. %endif +# At least main config file /etc/my.cnf is shared for client and server part +# Since we want to support combination of different client and server +# implementations (e.g. mariadb library and community-mysql server), +# we need the config file(s) to be in a separate package, so no extra packages +# are pulled, because these would likely conflict. +# More specifically, the dependency on the main configuration file (/etc/my.cnf) +# is supposed to be defined as Requires: /etc/my.cnf rather than requiring +# a specific package, so installer app can choose whatever package fits to +# the transaction. %if %{with config} %package config Summary: The config files required by server and client