Compare commits
2 Commits
master
...
f33-riscv6
Author | SHA1 | Date |
---|---|---|
David Abdurachmanov | 946fb555ee | |
David Abdurachmanov | 391a9fbc9c |
17
secilc.spec
17
secilc.spec
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
Name: secilc
|
Name: secilc
|
||||||
Version: 3.1
|
Version: 3.1
|
||||||
Release: 2%{?dist}
|
Release: 2.0.riscv64%{?dist}.rvre0
|
||||||
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/2020
|
||||||
# Patch list start
|
# Patch list start
|
||||||
# Patch list end
|
# Patch list end
|
||||||
BuildRequires: gcc
|
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
|
%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,19 @@ 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
|
||||||
|
* 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
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue