Disable debug packages on riscv64 and SELinux
Debug packages don't work right now. To bootstrap SELinux we need to temporarily disable it. Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
97547bc00a
commit
eaa78ffff2
|
@ -1,7 +1,11 @@
|
||||||
|
%ifarch riscv64
|
||||||
|
%global debug_package %{nil}
|
||||||
|
%endif
|
||||||
|
|
||||||
Summary: Utilities for managing accounts and shadow password files
|
Summary: Utilities for managing accounts and shadow password files
|
||||||
Name: shadow-utils
|
Name: shadow-utils
|
||||||
Version: 4.11.1
|
Version: 4.11.1
|
||||||
Release: 4%{?dist}
|
Release: 4.0.riscv64%{?dist}
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
License: BSD and GPLv2+
|
License: BSD and GPLv2+
|
||||||
URL: https://github.com/shadow-maint/shadow
|
URL: https://github.com/shadow-maint/shadow
|
||||||
|
@ -50,7 +54,9 @@ Patch15: shadow-4.11.1-useradd-modify-check-ID-range-for-system-users.patch
|
||||||
|
|
||||||
### Dependencies ###
|
### Dependencies ###
|
||||||
Requires: audit-libs >= 1.6.5
|
Requires: audit-libs >= 1.6.5
|
||||||
|
%ifnarch riscv64
|
||||||
Requires: libselinux >= 1.25.2-1
|
Requires: libselinux >= 1.25.2-1
|
||||||
|
%endif
|
||||||
Requires: setup
|
Requires: setup
|
||||||
|
|
||||||
### Build Dependencies ###
|
### Build Dependencies ###
|
||||||
|
@ -66,8 +72,10 @@ BuildRequires: gettext-devel
|
||||||
BuildRequires: itstool
|
BuildRequires: itstool
|
||||||
BuildRequires: libacl-devel
|
BuildRequires: libacl-devel
|
||||||
BuildRequires: libattr-devel
|
BuildRequires: libattr-devel
|
||||||
|
%ifnarch riscv64
|
||||||
BuildRequires: libselinux-devel >= 1.25.2-1
|
BuildRequires: libselinux-devel >= 1.25.2-1
|
||||||
BuildRequires: libsemanage-devel
|
BuildRequires: libsemanage-devel
|
||||||
|
%endif
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: libxslt
|
BuildRequires: libxslt
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
|
@ -150,7 +158,9 @@ autoreconf
|
||||||
--with-sha-crypt \
|
--with-sha-crypt \
|
||||||
--with-bcrypt \
|
--with-bcrypt \
|
||||||
--with-yescrypt \
|
--with-yescrypt \
|
||||||
|
%ifnarch riscv64
|
||||||
--with-selinux \
|
--with-selinux \
|
||||||
|
%endif
|
||||||
--without-libcrack \
|
--without-libcrack \
|
||||||
--without-libpam \
|
--without-libpam \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
|
@ -295,6 +305,10 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libsubid.a
|
||||||
%{_libdir}/libsubid.so
|
%{_libdir}/libsubid.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 8 2022 David Abdurachmanov <davidlt@rivosinc.com> - 2:4.11.1-4.0
|
||||||
|
- Disable debug packages on riscv64
|
||||||
|
- Disable SELinux on riscv64
|
||||||
|
|
||||||
* Mon Aug 1 2022 Iker Pedrosa <ipedrosa@redhat.com> - 2:4.11.1-4
|
* Mon Aug 1 2022 Iker Pedrosa <ipedrosa@redhat.com> - 2:4.11.1-4
|
||||||
- useradd: modify check ID range for system users. Resolves: #2093692
|
- useradd: modify check ID range for system users. Resolves: #2093692
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue