fix obsoletes

Obsoletes work by package names and never by Provides!

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-01-22 17:43:21 +01:00
parent 2d090ad82e
commit 14782661c8
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -26,7 +26,7 @@
Name: libxcrypt
Version: 4.0.0
Release: 0.203%{?gitrel}%{?dist}
Release: 0.204%{?gitrel}%{?dist}
Summary: Extended crypt library for DES, MD5, Blowfish and others
# For explicit license breakdown, see the
@ -43,10 +43,10 @@ Requires: glibc%{_isa} >= 2.26.9000-46
# We do not need to keep this forever.
%if 0%{?fedora} && 0%{?fedora} <= 31
# Inherited from former libcrypt package.
Obsoletes: libcrypt-nss%{?_isa} <= 2.26.9000-33
Obsoletes: libcrypt-nss <= 2.26.9000-33
# Obsolete former libcrypt properly.
Obsoletes: libcrypt%{?_isa} <= 2.26.9000-46
Obsoletes: libcrypt <= 2.26.9000-46
# Provide virtual libcrypt as it has been done
# by former libcrypt{,-nss} packages from glibc.
@ -189,6 +189,9 @@ is highly discouraged.
%changelog
* Mon Jan 22 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.0.0-0.204.20180120git3436e7b
- Fix Obsoletes
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 4.0.0-0.203.20180120git3436e7b
- Update to new snapshot fixing cast-align