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