Add README-mysql-cnf into build dir to make it visible for %doc
This commit is contained in:
parent
75785df7d6
commit
43c59ffe3e
29
mariadb.spec
29
mariadb.spec
@ -29,20 +29,6 @@
|
|||||||
# use Full RELRO for all binaries (RHBZ#1092548)
|
# use Full RELRO for all binaries (RHBZ#1092548)
|
||||||
%global _hardened_build 1
|
%global _hardened_build 1
|
||||||
|
|
||||||
Name: mariadb
|
|
||||||
Version: 10.0.12
|
|
||||||
Release: 3%{?dist}
|
|
||||||
Epoch: 1
|
|
||||||
|
|
||||||
Summary: A community developed branch of MySQL
|
|
||||||
Group: Applications/Databases
|
|
||||||
URL: http://mariadb.org
|
|
||||||
# Exceptions allow client libraries to be linked with most open source SW,
|
|
||||||
# not only GPL code. See README.mysql-license
|
|
||||||
# Some innobase code from Percona and Google is under BSD license
|
|
||||||
# Some code related to test-suite is under LGPLv2
|
|
||||||
License: GPLv2 with exceptions and LGPLv2 and BSD
|
|
||||||
|
|
||||||
# The evr of mysql we want to obsolete
|
# The evr of mysql we want to obsolete
|
||||||
%global obsoleted_mysql_evr 5.6-0
|
%global obsoleted_mysql_evr 5.6-0
|
||||||
%global obsoleted_mysql_case_evr 5.5.30-5
|
%global obsoleted_mysql_case_evr 5.5.30-5
|
||||||
@ -59,6 +45,20 @@ License: GPLv2 with exceptions and LGPLv2 and BSD
|
|||||||
%global mysqld_enabled_flag_file %{_localstatedir}/lib/rpm-state/mysqld_enabled
|
%global mysqld_enabled_flag_file %{_localstatedir}/lib/rpm-state/mysqld_enabled
|
||||||
%global mysqld_running_flag_file %{_localstatedir}/lib/rpm-state/mysqld_running
|
%global mysqld_running_flag_file %{_localstatedir}/lib/rpm-state/mysqld_running
|
||||||
|
|
||||||
|
Name: mariadb
|
||||||
|
Version: 10.0.12
|
||||||
|
Release: 3%{?dist}
|
||||||
|
Epoch: 1
|
||||||
|
|
||||||
|
Summary: A community developed branch of MySQL
|
||||||
|
Group: Applications/Databases
|
||||||
|
URL: http://mariadb.org
|
||||||
|
# Exceptions allow client libraries to be linked with most open source SW,
|
||||||
|
# not only GPL code. See README.mysql-license
|
||||||
|
# Some innobase code from Percona and Google is under BSD license
|
||||||
|
# Some code related to test-suite is under LGPLv2
|
||||||
|
License: GPLv2 with exceptions and LGPLv2 and BSD
|
||||||
|
|
||||||
Source0: http://mirrors.syringanetworks.net/mariadb/mariadb-%{version}/source/mariadb-%{version}.tar.gz
|
Source0: http://mirrors.syringanetworks.net/mariadb/mariadb-%{version}/source/mariadb-%{version}.tar.gz
|
||||||
Source2: mysql_config.sh
|
Source2: mysql_config.sh
|
||||||
Source3: my.cnf
|
Source3: my.cnf
|
||||||
@ -563,6 +563,7 @@ mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
|
|||||||
echo "%{_libdir}/mysql" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
echo "%{_libdir}/mysql" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||||
|
|
||||||
# copy additional docs into build tree so %%doc will find them
|
# copy additional docs into build tree so %%doc will find them
|
||||||
|
cp -p %{SOURCE5} .
|
||||||
cp -p %{SOURCE6} .
|
cp -p %{SOURCE6} .
|
||||||
cp -p %{SOURCE7} .
|
cp -p %{SOURCE7} .
|
||||||
cp -p %{SOURCE16} .
|
cp -p %{SOURCE16} .
|
||||||
|
Loading…
Reference in New Issue
Block a user