because EL8 does not have necessary build dependencies yet,
sphinx3-breathe and nodejs-less, for instance. so add
"--without doc" option to disable the doc build.
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
- use python36-sphinx, and python36-breathe on el7, as python2 is almost
EOL.
- the incorporated patch addresses the issue of https://github.com/fmtlib/fmt/issues/1631
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
* %{_datarootdir} -> %{_datadir}
* %{_libdir}/libfmt.so.5* instead of %{_libdir}/libfmt.so*
* use %ldconfig_scriptlets macro instead of calling /sbin/ldconfig
* use tar.gz not zip
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
- split fmt_build_doc_system.patch into smaller patches, to simplify
the patch management
- drop fmt_test8_segfault.patch, as it does not apply anymore
- add patches to avoid accessing to internet via installed document
- use python3 packages to adapt fedora python3 migration
- drop fmt-static package, as it's non-trivial to build static and
shared libraries in a single run. and it's not encouraged to ship
static library, see
https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_Static_Libraries_2
- package ChangeLog.rst README.rst in fmt package, to help use
to understand the latest changes, and to silence rpmlint warnings
- pass cmake options in multiple lines, to have less code churn of
future changes.
- drop DCMAKE_SKIP_RPATH=OFF, as RHEL6 is not supported anymore
- use %make_build and %make_install macros, see
https://fedoraproject.org/wiki/Packaging:Cmake
- bump up packaged fmt to v5.2.1
Signed-off-by: Kefu Chai <tchaikov@gmail.com>