diff --git a/graphite2.spec b/graphite2.spec index 0955047..7742a87 100644 --- a/graphite2.spec +++ b/graphite2.spec @@ -1,6 +1,6 @@ Name: graphite2 Version: 1.3.14 -Release: 6 +Release: 7 Summary: Graphite provides cross-platform rendering for complex writing systems License: LGPLv2.1 @@ -31,7 +31,11 @@ Header files for using the graphite2 libraries. %cmake -DGRAPHITE2_COMPARE_RENDERER=OFF . %make_build +%if 0%{?build_cross} == 1 +make +%else make docs +%endif %install %make_install INSTALL="install -p" @@ -60,7 +64,6 @@ ctest %exclude %{_libdir}/*.la %files devel -%doc doc/manual.html %{_includedir}/graphite2 %{_libdir}/libgraphite2.so %{_libdir}/pkgconfig/graphite2.pc @@ -68,6 +71,9 @@ ctest %{_datadir}/graphite2/graphite2.cmake %changelog +* Thu Aug 1 2024 zhangpan - 1.3.14-7 +- add options for i686 + * Fri May 20 2022 loong_C - 1.3.14-6 - fix spec changelog date