Hello. The mariadb-5.5.33a-2.fc21.src.rpm package won't backport due to the new: # In f20+ use unversioned docdirs, otherwise the old versioned one %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} And the conditional rpm magic makes INSTALL_DOCDIR and INSTALL_DOCREADMEDIR unset for an older distro, which in turn makes the build barf when it can't find for example '/home/oden/RPM/BUILDROOT/mariadb-5.5.33a-1.fc18.i386/usr/share/doc/mariadb-5.5.33a/INFO_SRC'. Proposed fix: --- mariadb.spec 2013-10-14 07:36:05.000000000 -0400 +++ mariadb.spec.oden 2013-10-31 14:27:22.685378819 -0400 @@ -325,6 +325,9 @@ %if 0%{?fedora} >= 20 -DINSTALL_DOCDIR=share/doc/mariadb \ -DINSTALL_DOCREADMEDIR=share/doc/mariadb \ +%else + -DINSTALL_DOCDIR=share/doc/%{name}-%{version} \ + -DINSTALL_DOCREADMEDIR=share/doc/%{name}-%{version} \ %endif -DINSTALL_INCLUDEDIR=include/mysql \ -DINSTALL_INFODIR=share/info \ Cheers.
Thanks for reporting and patch provided. Applied to Rawhide: http://pkgs.fedoraproject.org/cgit/mariadb.git/commit/?id=9a2be74e7b0a6cc9e1e3f26ca980601f3715931e