AlmaLinux changes
This commit is contained in:
parent
02b4ec6b53
commit
d5614811d5
@ -3,6 +3,7 @@
|
|||||||
# In theory the above, in practice golang is so often broken that
|
# In theory the above, in practice golang is so often broken that
|
||||||
# I now disable it:
|
# I now disable it:
|
||||||
%global golang_arches NONE
|
%global golang_arches NONE
|
||||||
|
%global dist %{?dist}.alma
|
||||||
|
|
||||||
# Architectures that we run the basic sanity-check test.
|
# Architectures that we run the basic sanity-check test.
|
||||||
#
|
#
|
||||||
@ -762,7 +763,10 @@ sed 's/@VERSION@/%{version}/g' < %{SOURCE4} > README
|
|||||||
ip addr list ||:
|
ip addr list ||:
|
||||||
ip route list ||:
|
ip route list ||:
|
||||||
if ping -c 3 -w 20 8.8.8.8 && wget http://libguestfs.org -O /dev/null; then
|
if ping -c 3 -w 20 8.8.8.8 && wget http://libguestfs.org -O /dev/null; then
|
||||||
extra=
|
# AlmaLinux: avoid permission denied for yum/dnf cache
|
||||||
|
mkdir cachedir
|
||||||
|
sed -e "s|/var/cache/yum|$(pwd)/cachedir|" -e "s|/var/cache/dnf|$(pwd)/cachedir|" /etc/dnf/dnf.conf > yum.conf
|
||||||
|
extra=--with-supermin-packager-config=$(pwd)/yum.conf
|
||||||
else
|
else
|
||||||
mkdir cachedir repo
|
mkdir cachedir repo
|
||||||
# -n 1 because of RHBZ#980502.
|
# -n 1 because of RHBZ#980502.
|
||||||
@ -1146,6 +1150,10 @@ rm ocaml/html/.gitignore
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 21 2022 Edaurd Abdullin <eabdullin@almalinux.org> - 1:1.46.1-2.alma
|
||||||
|
- Fix build for AlmaLinux
|
||||||
|
- Avoid permission denied for yum/dnf cache
|
||||||
|
|
||||||
* Thu Dec 23 2021 Laszlo Ersek <lersek@redhat.com> - 1:1.46.1-2
|
* Thu Dec 23 2021 Laszlo Ersek <lersek@redhat.com> - 1:1.46.1-2
|
||||||
- Add detection support for Rocky Linux
|
- Add detection support for Rocky Linux
|
||||||
resolves: rhbz#2030709
|
resolves: rhbz#2030709
|
||||||
|
Loading…
Reference in New Issue
Block a user