Compare commits

...

10 Commits

Author SHA1 Message Date
David Abdurachmanov 0beacfe1e6
Disable docs on riscv64
Pandoc is not working currently.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-11-02 09:09:51 +02:00
David Abdurachmanov 0f3a873082
Merge remote-tracking branch 'up/main' into main-riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-11-02 09:02:34 +02:00
Fedora Release Engineering 133ddd6b30 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 01:21:46 +00:00
Petr Lautrbach 8a5549ff05 SELinux userspace 3.5 release 2023-02-24 14:14:51 +01:00
Petr Lautrbach 371dea0eb6 SELinux userspace 3.5-rc3 release 2023-02-14 09:34:27 +01:00
Fedora Release Engineering 3255cf1395 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 02:57:30 +00:00
Petr Lautrbach edb0a4d697 SELinux userspace 3.5-rc2 release 2023-01-16 17:09:33 +01:00
Petr Lautrbach 3278a85e60 secilc-3.5-0.rc1.1
- SELinux userspace 3.5-rc1 release
2022-12-27 12:18:03 +01:00
Petr Lautrbach 5e16e38b14 secilc-3.4-4
Rebase on upstream f56a72ac9e86
2022-11-22 08:48:15 +01:00
Petr Lautrbach 9a69b24df2 Migrate License tag to SPDX
https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_1
2022-11-10 08:50:12 +01:00
3 changed files with 44 additions and 16 deletions

4
.gitignore vendored
View File

@ -21,3 +21,7 @@
/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,25 +1,24 @@
%global libsepolver 3.4-1
%ifarch riscv64
%global debug_package %{nil}
%endif
%global libsepolver 3.5-1
Name: secilc
Version: 3.4
Release: 3.0.riscv64%{?dist}
Version: 3.5
Release: 2.0.riscv64%{?dist}
Summary: The SELinux CIL Compiler
License: BSD
License: BSD-2-Clause
URL: https://github.com/SELinuxProject/selinux/wiki
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
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
# 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, 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
@ -46,9 +45,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
@ -62,16 +63,39 @@ 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 COPYING
%license LICENSE
%files doc
%ifnarch riscv64
%doc docs/html
%doc docs/pdf
%license COPYING
%endif
%license LICENSE
%changelog
* Mon Aug 08 2022 David Abdurachmanov <davidlt@rivosinc.com> - 3.4-3.0.riscv64
- Disable debug packages on riscv64
* 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
* 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.4.tar.gz) = f29ff42dd60050cdd4367af38b334876817f8e33ed40a9be89304beea840a210bd9a58d658d0b09f98bad54b12b185a0262ca05094b63e7f96c0142729699c3b
SHA512 (secilc-3.5.tar.gz) = eff37a981072c4b9c7c15bf4709db8797d8af5325883515f5c2fe611136b24419f6d01c797e4f131c9c08e1ba40576fcb2094b1e34325aae8351b6299bdba3dd