Use macro for conflicting man-pages package

This commit is contained in:
Björn Esser 2020-02-12 12:43:26 +01:00
parent fea5936cc1
commit 706b45b2a0
No known key found for this signature in database
GPG Key ID: F52E98007594C21D

View File

@ -53,7 +53,12 @@
# First version of glibc built without libcrypt.
%global glibc_minver 2.27
%global glibc_minver 2.27
# The libxcrypt-devel package conflicts with out-dated manuals
# shipped with the man-pages packages *before* this EVR.
%global man_pages_minver 4.15-3
# Hash methods and API supported by libcrypt.
@ -245,7 +250,7 @@ work unmodified with the library supplied by this package.
%package devel
Summary: Development files for %{name}
Conflicts: man-pages < 4.15-3
Conflicts: man-pages < %{man_pages_minver}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: glibc-devel%{?_isa} >= %{glibc_minver}