Compare commits

...

2 Commits

Author SHA1 Message Date
David Abdurachmanov 946fb555ee
Bump Release
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-12-06 18:10:32 +02:00
David Abdurachmanov 391a9fbc9c
Disable documentation on riscv64
Enable after pandoc and all GHC packages are rebuilt.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-11-30 17:08:12 +02:00
1 changed files with 15 additions and 2 deletions

View File

@ -2,7 +2,7 @@
Name: secilc
Version: 3.1
Release: 2%{?dist}
Release: 2.0.riscv64%{?dist}.rvre0
Summary: The SELinux CIL Compiler
License: BSD
@ -13,7 +13,10 @@ Source0: https://github.com/SELinuxProject/selinux/releases/download/2020
# Patch list start
# Patch list end
BuildRequires: gcc
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
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,19 @@ 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
* Sun Dec 06 2020 David Abdurachmanov <david.abdurachmanov@sifive.com> - 3.1-2.0.riscv64.rvre0
- Rebuilt for Fedora RISCV, no changes
* Mon Nov 30 2020 David Abdurachmanov <david.abdurachmanov@sifive.com> - 3.1-2.0.riscv64
- Disable documentation on riscv64
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild