From 2ce80894d1b2346f06d4020eec8f21100599eb00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= <besser82@fedoraproject.org>
Date: Tue, 4 Jan 2022 15:29:18 +0100
Subject: [PATCH] Update Obsoletes, Provides, and Requires to glibc 2.28 (or
 later), as this was the first upstream version of glibc with an option to be
 built without shipping libcrypt

---
 libxcrypt.spec | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/libxcrypt.spec b/libxcrypt.spec
index f161835..45addca 100644
--- a/libxcrypt.spec
+++ b/libxcrypt.spec
@@ -53,7 +53,7 @@
 
 
 # First version of glibc built without libcrypt.
-%global glibc_minver     2.27
+%global glibc_minver     2.28
 
 
 # The libxcrypt-devel package conflicts with out-dated manuals
@@ -158,7 +158,7 @@ fi                                          \
 
 Name:           libxcrypt
 Version:        4.4.27
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Extended crypt library for descrypt, md5crypt, bcrypt, and others
 
 # For explicit license breakdown, see the
@@ -551,6 +551,11 @@ done
 
 
 %changelog
+* Tue Jan 04 2022 Björn Esser <besser82@fedoraproject.org> - 4.4.27-2
+- Update Obsoletes, Provides, and Requires to glibc 2.28 (or later),
+  as this was the first upstream version of glibc with an option to
+  be built without shipping libcrypt
+
 * Fri Dec 17 2021 Björn Esser <besser82@fedoraproject.org> - 4.4.27-1
 - New upstream release