- Mandown only exists in Tumbleweed.

OBS-URL: https://build.opensuse.org/package/show/utilities/zellij?expand=0&rev=33
This commit is contained in:
Soc Virnyl Estela 2022-10-10 10:26:13 +00:00 committed by Git OBS Bridge
parent 49c91058bb
commit ab1b14c89d
2 changed files with 13 additions and 0 deletions

View File

@ -4,6 +4,7 @@ Mon Oct 10 10:20:22 UTC 2022 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
- 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 <socvirnyl.estela@gmail.com>

View File

@ -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