Compare commits

..

No commits in common. "0beacfe1e62fd93209d57bf6c6207403e2d8bae7" and "c515c4b5e2f526104778f55fb7966dc18ef46b81" have entirely different histories.

3 changed files with 16 additions and 44 deletions

4
.gitignore vendored
View File

@ -21,7 +21,3 @@
/secilc-3.4-rc2.tar.gz
/secilc-3.4-rc3.tar.gz
/secilc-3.4.tar.gz
/secilc-3.5-rc1.tar.gz
/secilc-3.5-rc2.tar.gz
/secilc-3.5-rc3.tar.gz
/secilc-3.5.tar.gz

View File

@ -1,24 +1,25 @@
%global libsepolver 3.5-1
%global libsepolver 3.4-1
%ifarch riscv64
%global debug_package %{nil}
%endif
Name: secilc
Version: 3.5
Release: 2.0.riscv64%{?dist}
Version: 3.4
Release: 3.0.riscv64%{?dist}
Summary: The SELinux CIL Compiler
License: BSD-2-Clause
License: BSD
URL: https://github.com/SELinuxProject/selinux/wiki
Source0: https://github.com/SELinuxProject/selinux/releases/download/3.5/secilc-3.5.tar.gz
# fedora-selinux/selinux: git format-patch -N 3.5 -- secilc
Source0: https://github.com/SELinuxProject/selinux/releases/download/3.4/secilc-3.4.tar.gz
# fedora-selinux/selinux: git format-patch -N 3.4 -- secilc
# i=1; for j in 00*patch; do printf "Patch%04d: %s\n" $i $j; i=$((i+1));done
# Patch list start
# Patch list end
Requires: libsepol >= %{libsepolver}
BuildRequires: gcc
BuildRequires: make
BuildRequires: libsepol-static >= %{libsepolver}, dblatex, flex, xmlto, texlive-mdwtools
%ifnarch riscv64
BuildRequires: pandoc-pdf
%endif
BuildRequires: libsepol-static >= %{libsepolver}, dblatex, flex, xmlto, pandoc-pdf, texlive-mdwtools
%description
The SELinux CIL Compiler is a compiler that converts the CIL language as
@ -45,11 +46,9 @@ 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
@ -63,39 +62,16 @@ make %{?_smp_mflags} DESTDIR="%{buildroot}" SBINDIR="%{buildroot}%{_sbindir}" LI
%{_mandir}/man8/secilc.8.gz
%{_mandir}/man8/secil2conf.8.gz
%{_mandir}/man8/secil2tree.8.gz
%license LICENSE
%license COPYING
%files doc
%ifnarch riscv64
%doc docs/html
%doc docs/pdf
%endif
%license LICENSE
%license COPYING
%changelog
* Thu Nov 02 2023 David Abdurachmanov <davidlt@rivosinc.com> - 3.5-2.0.riscv64
- Disable docs on riscv64 (pandoc doesn't work)
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri Feb 24 2023 Petr Lautrbach <lautrbach@redhat.com> - 3.5-1
- SELinux userspace 3.5 release
* Tue Feb 14 2023 Petr Lautrbach <lautrbach@redhat.com> - 3.5-0.rc3.1
- SELinux userspace 3.5-rc3 release
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.5-0.rc2.1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Mon Jan 16 2023 Petr Lautrbach <lautrbach@redhat.com> - 3.5-0.rc2.1
- SELinux userspace 3.5-rc2 release
* Tue Dec 27 2022 Petr Lautrbach <lautrbach@redhat.com> - 3.5-0.rc1.1
- SELinux userspace 3.5-rc1 release
* Tue Nov 22 2022 Petr Lautrbach <lautrbach@redhat.com> - 3.4-4
- Rebase on upstream f56a72ac9e86
* Mon Aug 08 2022 David Abdurachmanov <davidlt@rivosinc.com> - 3.4-3.0.riscv64
- Disable debug packages on riscv64
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (secilc-3.5.tar.gz) = eff37a981072c4b9c7c15bf4709db8797d8af5325883515f5c2fe611136b24419f6d01c797e4f131c9c08e1ba40576fcb2094b1e34325aae8351b6299bdba3dd
SHA512 (secilc-3.4.tar.gz) = f29ff42dd60050cdd4367af38b334876817f8e33ed40a9be89304beea840a210bd9a58d658d0b09f98bad54b12b185a0262ca05094b63e7f96c0142729699c3b