From 9b05af9326a42738dfe5967e41c96fff5bd2fd74 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Mon, 8 Aug 2022 20:17:55 +0300 Subject: [PATCH] Enable SELinux on riscv64 again Signed-off-by: David Abdurachmanov --- shadow-utils.spec | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/shadow-utils.spec b/shadow-utils.spec index 131c362..450226e 100644 --- a/shadow-utils.spec +++ b/shadow-utils.spec @@ -5,7 +5,7 @@ Summary: Utilities for managing accounts and shadow password files Name: shadow-utils Version: 4.11.1 -Release: 4.0.riscv64%{?dist} +Release: 4.1.riscv64%{?dist} Epoch: 2 License: BSD and GPLv2+ URL: https://github.com/shadow-maint/shadow @@ -54,9 +54,7 @@ Patch15: shadow-4.11.1-useradd-modify-check-ID-range-for-system-users.patch ### Dependencies ### Requires: audit-libs >= 1.6.5 -%ifnarch riscv64 Requires: libselinux >= 1.25.2-1 -%endif Requires: setup ### Build Dependencies ### @@ -72,10 +70,8 @@ BuildRequires: gettext-devel BuildRequires: itstool BuildRequires: libacl-devel BuildRequires: libattr-devel -%ifnarch riscv64 BuildRequires: libselinux-devel >= 1.25.2-1 BuildRequires: libsemanage-devel -%endif BuildRequires: libtool BuildRequires: libxslt BuildRequires: make @@ -158,9 +154,7 @@ autoreconf --with-sha-crypt \ --with-bcrypt \ --with-yescrypt \ -%ifnarch riscv64 --with-selinux \ -%endif --without-libcrack \ --without-libpam \ --enable-shared \ @@ -305,7 +299,10 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libsubid.a %{_libdir}/libsubid.so %changelog -* Mon Aug 8 2022 David Abdurachmanov - 2:4.11.1-4.0 +* Mon Aug 8 2022 David Abdurachmanov - 2:4.11.1-4.1.riscv64 +- Enable SELinux on riscv64 + +* Mon Aug 8 2022 David Abdurachmanov - 2:4.11.1-4.0.riscv64 - Disable debug packages on riscv64 - Disable SELinux on riscv64