Limit explicit versioned Requires on glibc to older distro releases

This commit is contained in:
Björn Esser 2021-09-21 23:04:55 +02:00
parent 5f3fa431f8
commit 136ca6474a
No known key found for this signature in database
GPG Key ID: F52E98007594C21D

View File

@ -158,7 +158,7 @@ fi \
Name: libxcrypt
Version: 4.4.26
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Extended crypt library for descrypt, md5crypt, bcrypt, and others
# For explicit license breakdown, see the
@ -211,8 +211,10 @@ Provides: %{name}-common = %{version}-%{release}
Obsoletes: %{name}-compat < %{version}-%{release}
%endif
%if !(0%{?fedora} > 35 || 0%{?rhel} > 10)
# We need a version of glibc, that doesn't build libcrypt anymore.
Requires: glibc%{?_isa} >= %{glibc_minver}
%endif
%if 0%{?fedora} >= 30
Recommends: mkpasswd
@ -248,7 +250,11 @@ Summary: Compatibility library providing legacy API functions
BuildRequires: libxcrypt-compat
Requires: %{name}%{?_isa} = %{version}-%{release}
%if !(0%{?fedora} > 35 || 0%{?rhel} > 10)
# We need a version of glibc, that doesn't build libcrypt anymore.
Requires: glibc%{?_isa} >= %{glibc_minver}
%endif
%description compat
This package contains the library providing the compatibility API
@ -545,6 +551,9 @@ done
%changelog
* Tue Sep 21 2021 Björn Esser <besser82@fedoraproject.org> - 4.4.26-3
- Limit explicit versioned Requires on glibc to older distro releases
* Sat Sep 18 2021 Björn Esser <besser82@fedoraproject.org> - 4.4.26-2
- Build from signed and verified distribution tarball