From 8e995bea036f0fee35913009f7f2439d8cc5dcf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Fri, 19 Jan 2018 22:34:00 +0100 Subject: [PATCH] Add Obsoletes/Provides for libcrypt --- libxcrypt.spec | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/libxcrypt.spec b/libxcrypt.spec index dcd035d..8fe86dc 100644 --- a/libxcrypt.spec +++ b/libxcrypt.spec @@ -38,6 +38,16 @@ Source0: %{url}/archive/%{commit}/%{name}-%{version}%{?gitver}.tar.gz BuildRequires: fipscheck BuildRequires: libtool +Requires: glibc%{_isa} + +%if 0%{?fedora} >= 28 && 0%{?fedora} <= 31 +Obsoletes: libcrypt <= 2.26.9000-46 +Obsoletes: libcrypt-nss <= 2.26.9000-33 + +Provides: libcrypt == 2.26.9000-46.1 +Provides: libcrypt%{?_isa} == 2.26.9000-46.1 +%endif + %description libxcrypt is a modern library for one-way hashing of passwords. It supports DES, MD5, SHA-2-256, SHA-2-512, and bcrypt-based password @@ -174,6 +184,7 @@ is highly discouraged. %changelog * Fri Jan 12 2018 Björn Esser - 4.0.0-0.200.20171109git15447aa - Initial import (rhbz#1532794) +- Add Obsoletes/Provides for libcrypt * Wed Jan 10 2018 Björn Esser - 4.0.0-0.101.20171109git15447aa - Fix style of %%git_{rel,ver}