Apply Florian suggested patch to fix packaging

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2024-02-01 17:23:56 +02:00
parent 0bd93c5697
commit 3dad13b484
Signed by: davidlt
GPG Key ID: 7A5F42FAF91FACC3
1 changed files with 8 additions and 1 deletions

View File

@ -172,7 +172,7 @@ Version: %{glibcversion}
# generator to make the generated requires interchangeable between Rawhide
# and ELN (.elnYY < .fcXX).
%global baserelease 39
Release: %{baserelease}%{?dist}
Release: %{baserelease}.0.riscv64%{?dist}
# In general, GPLv2+ is used by programs, LGPLv2+ is used for
# libraries.
@ -1571,6 +1571,10 @@ for lib in lib lib64; do
set +x
slbase=$(basename $sl)
sltarget=$(basename $(readlink $sl))
if test "$sltarget" = . ; then
# This is the lp64d symbolic link on riscv64, see above.
continue
fi
if ! test -r usr/$lib/$sltarget; then
echo "$sl: inferred $sltarget ($(readlink $sl)) missing"
exit 1
@ -2308,6 +2312,9 @@ update_gconv_modules_cache ()
%endif
%changelog
* Thu Feb 01 2024 David Abdurachmanov <davidlt@rivosinc.com> - 2.38.9000-39.0.riscv64
- Apply Florian suggested fix for noarch sysroot (riscv64)
* Wed Jan 31 2024 Florian Weimer <fweimer@redhat.com> - 2.38.9000-39
- Add noarch sysroot subpackages