Add Obsoletes/Provides for libcrypt

This commit is contained in:
Björn Esser 2018-01-19 22:34:00 +01:00
parent 1debfd965f
commit 8e995bea03
No known key found for this signature in database
GPG Key ID: F52E98007594C21D

View File

@ -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 <besser82@fedoraproject.org> - 4.0.0-0.200.20171109git15447aa
- Initial import (rhbz#1532794)
- Add Obsoletes/Provides for libcrypt
* Wed Jan 10 2018 Björn Esser <besser82@fedoraproject.org> - 4.0.0-0.101.20171109git15447aa
- Fix style of %%git_{rel,ver}