Fix versioned requirements on glibc

This commit is contained in:
Björn Esser 2019-02-19 14:56:11 +01:00
parent bd7ef773f1
commit 860bcd60c8
No known key found for this signature in database
GPG Key ID: F52E98007594C21D

View File

@ -148,7 +148,7 @@ fi \
Name: libxcrypt Name: libxcrypt
Version: 4.4.3 Version: 4.4.3
Release: 9%{?dist} Release: 10%{?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
@ -195,7 +195,7 @@ Obsoletes: %{name}-compat < %{version}-%{release}
%endif %endif
# 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}
%if 0%{?fedora} %if 0%{?fedora}
Recommends: whois-mkpasswd Recommends: whois-mkpasswd
@ -228,7 +228,7 @@ that have been provided by glibc's libcrypt.so.1.
Summary: Compatibility library providing legacy API functions Summary: Compatibility library providing legacy API functions
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: glibc%{?_isa} > %{glibc_minver} Requires: glibc%{?_isa} >= %{glibc_minver}
%description compat %description compat
This package contains the library providing the compatibility API This package contains the library providing the compatibility API
@ -249,7 +249,7 @@ Summary: Development files for %{name}
Conflicts: man-pages < 4.15-3 Conflicts: man-pages < 4.15-3
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: glibc-devel%{?_isa} > %{glibc_minver} Requires: glibc-devel%{?_isa} >= %{glibc_minver}
%description devel %description devel
The %{name}-devel package contains libraries and header files for The %{name}-devel package contains libraries and header files for
@ -261,8 +261,8 @@ developing applications that use %{name}.
Summary: Static library for -static linking with %{name} Summary: Static library for -static linking with %{name}
Requires: %{name}-devel%{?_isa} = %{version}-%{release} Requires: %{name}-devel%{?_isa} = %{version}-%{release}
Requires: glibc-devel%{?_isa} > %{glibc_minver} Requires: glibc-devel%{?_isa} >= %{glibc_minver}
Requires: glibc-static%{?_isa} > %{glibc_minver} Requires: glibc-static%{?_isa} >= %{glibc_minver}
%description static %description static
This package contains the libxcrypt static library for -static This package contains the libxcrypt static library for -static
@ -463,6 +463,9 @@ done
%changelog %changelog
* Tue Feb 19 2019 Björn Esser <besser82@fedoraproject.org> - 4.4.3-10
- Fix versioned requirements on glibc
* Tue Feb 19 2019 Björn Esser <besser82@fedoraproject.org> - 4.4.3-9 * Tue Feb 19 2019 Björn Esser <besser82@fedoraproject.org> - 4.4.3-9
- Fix conditional in __spec_install_post - Fix conditional in __spec_install_post