Compare commits

...

2 Commits

Author SHA1 Message Date
David Abdurachmanov e32f54d731
Merge remote-tracking branch 'up/master' into master-riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-12-30 16:28:57 +02:00
David Abdurachmanov bd9ca1e445
Disable documentation on RISC-V (riscv64)
We don't have pandoc available.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-11-14 07:31:03 +02:00
1 changed files with 12 additions and 2 deletions

View File

@ -2,7 +2,7 @@
Name: secilc
Version: 3.0
Release: 1%{?dist}
Release: 1.0.riscv64%{?dist}
Summary: The SELinux CIL Compiler
License: BSD
@ -13,7 +13,10 @@ Source0: https://github.com/SELinuxProject/selinux/releases/download/2019
# Patch list start
# Patch list end
BuildRequires: gcc
BuildRequires: libsepol-static >= %{libsepolver}, dblatex, flex, xmlto, pandoc
BuildRequires: libsepol-static >= %{libsepolver}, dblatex, flex, xmlto
%ifnarch riscv64
BuildRequires: pandoc
%endif
%description
The SELinux CIL Compiler is a compiler that converts the CIL language as
@ -40,9 +43,11 @@ for more information about the goals and features on the CIL language.
%build
%set_build_flags
make %{?_smp_mflags} LIBSEPOL_STATIC=%{_libdir}/libsepol.a
%ifnarch riscv64
pushd docs
make %{?_smp_mflags}
popd
%endif
%install
@ -57,11 +62,16 @@ make %{?_smp_mflags} DESTDIR="%{buildroot}" SBINDIR="%{buildroot}%{_sbindir}" LI
%license COPYING
%files doc
%ifnarch riscv64
%doc docs/html
%doc docs/pdf
%endif
%license COPYING
%changelog
* Mon Dec 30 2019 David Abdurachmanov <david.abdurachmanvo@sifive.com> - 3.0-1.0.riscv64
- Disable documentation on RISC-V (riscv64)
* Fri Dec 6 2019 Petr Lautrbach <plautrba@redhat.com> - 3.0-1
- SELinux userspace 3.0 release