From 3318b4977304e54e3eb1024a6868b1d100bdb8a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Hor=C3=A1k?= Date: Tue, 30 Jul 2013 17:15:34 +0200 Subject: [PATCH] Add condition for doc placement in F20+ --- mariadb.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mariadb.spec b/mariadb.spec index 1a38cda..e2f137b 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -314,8 +314,10 @@ cmake . -DBUILD_CONFIG=mysql_release \ -DFEATURE_SET="community" \ -DINSTALL_LAYOUT=RPM \ -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ +%if 0%{?fedora} >= 20 -DINSTALL_DOCDIR=share/doc/mariadb \ -DINSTALL_DOCREADMEDIR=share/doc/mariadb \ +%endif -DINSTALL_INCLUDEDIR=include/mysql \ -DINSTALL_INFODIR=share/info \ -DINSTALL_LIBDIR="%{_lib}/mysql" \ @@ -757,6 +759,7 @@ fi - Fix multilib header location for arm - Enhance documentation in the unit file - Use scriptstub instead of links to avoid multilib conflicts +- Add condition for doc placement in F20+ * Sun Jul 28 2013 Dennis Gilmore - 5.5.32-5 - remove "Requires(pretrans): systemd" since its not possible