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
|
Name: secilc
|
||||||
Version: 3.0
|
Version: 3.0
|
||||||
Release: 1%{?dist}
|
Release: 1.0.riscv64%{?dist}
|
||||||
Summary: The SELinux CIL Compiler
|
Summary: The SELinux CIL Compiler
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
|
@ -13,7 +13,10 @@ Source0: https://github.com/SELinuxProject/selinux/releases/download/2019
|
||||||
# Patch list start
|
# Patch list start
|
||||||
# Patch list end
|
# Patch list end
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: libsepol-static >= %{libsepolver}, dblatex, flex, xmlto, pandoc
|
BuildRequires: libsepol-static >= %{libsepolver}, dblatex, flex, xmlto
|
||||||
|
%ifnarch riscv64
|
||||||
|
BuildRequires: pandoc
|
||||||
|
%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
|
||||||
|
@ -40,9 +43,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
|
||||||
|
@ -57,11 +62,16 @@ make %{?_smp_mflags} DESTDIR="%{buildroot}" SBINDIR="%{buildroot}%{_sbindir}" LI
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
|
%ifnarch riscv64
|
||||||
%doc docs/html
|
%doc docs/html
|
||||||
%doc docs/pdf
|
%doc docs/pdf
|
||||||
|
%endif
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Dec 6 2019 Petr Lautrbach <plautrba@redhat.com> - 3.0-1
|
||||||
- SELinux userspace 3.0 release
|
- SELinux userspace 3.0 release
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue