SPECfile cleanup - use the unversioned docdirs in a clean and straightforward way
This commit is contained in:
parent
b1b14a1e11
commit
8a077c3962
@ -17,10 +17,6 @@
|
||||
# Set to 1 to force run the testsuite even if it was already tested in current version
|
||||
%global force_run_testsuite 0
|
||||
|
||||
# In f20+ use unversioned docdirs, otherwise the old versioned one
|
||||
%global _pkgdocdirname %{pkg_name}%{!?_pkgdocdir:-%{version}}
|
||||
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{pkg_name}-%{version}}
|
||||
|
||||
%global skiplist platform-specific-tests.list
|
||||
|
||||
%global boost_bundled_version 1.77.0
|
||||
@ -440,8 +436,8 @@ cp %{SOURCE2} %{SOURCE3} %{SOURCE10} %{SOURCE11} %{SOURCE12} \
|
||||
-DCMAKE_INSTALL_PREFIX="%{_prefix}" \
|
||||
-DSYSCONFDIR="%{_sysconfdir}" \
|
||||
-DSYSCONF2DIR="%{_sysconfdir}/my.cnf.d" \
|
||||
-DINSTALL_DOCDIR="share/doc/%{_pkgdocdirname}" \
|
||||
-DINSTALL_DOCREADMEDIR="share/doc/%{_pkgdocdirname}" \
|
||||
-DINSTALL_DOCDIR="share/doc/%{pkg_name}" \
|
||||
-DINSTALL_DOCREADMEDIR="share/doc/%{pkg_name}" \
|
||||
-DINSTALL_INCLUDEDIR=include/mysql \
|
||||
-DINSTALL_INFODIR=share/info \
|
||||
-DINSTALL_LIBEXECDIR=libexec \
|
||||
|
Loading…
Reference in New Issue
Block a user