diff --git a/conky.spec b/conky.spec index 3c05955..41f6c79 100644 --- a/conky.spec +++ b/conky.spec @@ -22,7 +22,7 @@ Name: conky Version: 1.18.2 -Release: 1%{?dist} +Release: 1.0.riscv64%{?dist} Summary: A system monitor for X License: GPLv3+ @@ -48,7 +48,9 @@ BuildRequires: lua-devel %{?with_weather_xoap:BuildRequires: libxml2-devel} %{?with_wlan:BuildRequires: wireless-tools-devel} %{?with_xinerama:BuildRequires: libXinerama-devel} +%ifnarch riscv64 BuildRequires: pandoc +%endif BuildRequires: python3-pyyaml python3-jinja2 BuildRequires: cmake git BuildRequires: desktop-file-utils @@ -69,7 +71,11 @@ done %build %cmake \ +%ifnarch riscv64 -DBUILD_DOCS=ON \ +%else + -DBUILD_DOCS=OFF \ +%endif -DBUILD_BUILTIN_CONFIG=OFF \ -DBUILD_SHARED_LIBS:BOOL=OFF \ %{?with_audacious: -DBUILD_AUDACIOUS=ON} \ @@ -117,10 +123,15 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/conky.desktop %endif %{_datadir}/applications/conky.desktop %{_datadir}/icons/hicolor/*/apps/conky* +%ifnarch riscv64 %{_mandir}/man1/conky.1* +%endif %changelog +* Wed May 10 2023 David Abdurachmanov - 1.18.2-1.0.riscv64 +- Disable pandoc on riscv64 for now + * Mon Mar 06 2023 Miroslav Lichvar - 1.18.2-1 - update to 1.18.2