Compare commits
2 Commits
master
...
master-ris
Author | SHA1 | Date |
---|---|---|
David Abdurachmanov | e32f54d731 | |
David Abdurachmanov | bd9ca1e445 |
14
secilc.spec
14
secilc.spec
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue