Disable docs on riscv64
Pandoc is not working currently. Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
0f3a873082
commit
0beacfe1e6
14
secilc.spec
14
secilc.spec
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
Name: secilc
|
Name: secilc
|
||||||
Version: 3.5
|
Version: 3.5
|
||||||
Release: 2%{?dist}
|
Release: 2.0.riscv64%{?dist}
|
||||||
Summary: The SELinux CIL Compiler
|
Summary: The SELinux CIL Compiler
|
||||||
|
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
|
@ -15,7 +15,10 @@ Source0: https://github.com/SELinuxProject/selinux/releases/download/3.5/
|
||||||
Requires: libsepol >= %{libsepolver}
|
Requires: libsepol >= %{libsepolver}
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: libsepol-static >= %{libsepolver}, dblatex, flex, xmlto, pandoc-pdf, texlive-mdwtools
|
BuildRequires: libsepol-static >= %{libsepolver}, dblatex, flex, xmlto, texlive-mdwtools
|
||||||
|
%ifnarch riscv64
|
||||||
|
BuildRequires: pandoc-pdf
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The SELinux CIL Compiler is a compiler that converts the CIL language as
|
The SELinux CIL Compiler is a compiler that converts the CIL language as
|
||||||
|
@ -42,9 +45,11 @@ for more information about the goals and features on the CIL language.
|
||||||
%build
|
%build
|
||||||
%set_build_flags
|
%set_build_flags
|
||||||
make %{?_smp_mflags} LIBSEPOL_STATIC=%{_libdir}/libsepol.a
|
make %{?_smp_mflags} LIBSEPOL_STATIC=%{_libdir}/libsepol.a
|
||||||
|
%ifnarch riscv64
|
||||||
pushd docs
|
pushd docs
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
popd
|
popd
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
@ -61,11 +66,16 @@ make %{?_smp_mflags} DESTDIR="%{buildroot}" SBINDIR="%{buildroot}%{_sbindir}" LI
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
|
%ifnarch riscv64
|
||||||
%doc docs/html
|
%doc docs/html
|
||||||
%doc docs/pdf
|
%doc docs/pdf
|
||||||
|
%endif
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 02 2023 David Abdurachmanov <davidlt@rivosinc.com> - 3.5-2.0.riscv64
|
||||||
|
- Disable docs on riscv64 (pandoc doesn't work)
|
||||||
|
|
||||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.5-2
|
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.5-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue