diff --git a/zellij.changes b/zellij.changes index 1b5cdae..55a8ba4 100644 --- a/zellij.changes +++ b/zellij.changes @@ -4,6 +4,7 @@ Mon Oct 10 10:20:22 UTC 2022 - Soc Virnyl Estela - Use tier 1 arches because some crate for other tier archs are not supported. - Use rust version 1.59 and above. +- Mandown only exists in Tumbleweed. ------------------------------------------------------------------ Sun Oct 9 02:05:25 UTC 2022 - Soc Virnyl Estela diff --git a/zellij.spec b/zellij.spec index 1434279..0d71fd4 100644 --- a/zellij.spec +++ b/zellij.spec @@ -29,7 +29,11 @@ Source2: cargo_config Source3: README.suse-maint.md BuildRequires: cargo-packaging BuildRequires: libgcc_s1 + +%if 0%{?suse_version} > 1500 BuildRequires: mandown +%endif + BuildRequires: rust+cargo >= 1.59 ExclusiveArch: %{rust_tier1_arches} %if %{with test} @@ -111,7 +115,11 @@ mandown docs/MANPAGE.md > target/zellij.1 install -Dm644 -T ./target/zellij.bash %{buildroot}%{_datadir}/bash-completion/completions/zellij install -Dm644 -T ./target/zellij.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/zellij.fish install -Dm644 -T ./target/zellij.zsh %{buildroot}%{_datadir}/zsh/site-functions/_zellij + +%if 0%{?suse_version} > 1500 install -Dm644 -T ./target/zellij.1 %{buildroot}%{_mandir}/man1/zellij.1 +%endif + %{cargo_install} --features unstable %if %{with test} %check @@ -120,7 +128,11 @@ install -Dm644 -T ./target/zellij.1 %{buildroot}%{_mandir}/man1/zellij.1 %files %{_bindir}/zellij + +%if 0%{?suse_version} > 1500 %{_mandir}/man1/zellij.1%{?ext_man} +%endif + %license LICENSE.md %doc README.md docs/ARCHITECTURE.md docs/MANPAGE.md docs/TERMINOLOGY.md docs/THIRD_PARTY_INSTALL.md