Add back python2-cryptsetup and cryptsetup-python3 obsoletes

They were lost in commit 6dea817. Add them back to support F28->F30
upgrade path.
This commit is contained in:
Kalev Lember 2019-04-04 12:40:47 +02:00
parent 6fbf418fd1
commit eaa427d573

View File

@ -1,7 +1,7 @@
Summary: A utility for setting up encrypted disks
Name: cryptsetup
Version: 2.1.0
Release: 2%{?dist}
Release: 3%{?dist}
License: GPLv2+ and LGPLv2+
URL: https://gitlab.com/cryptsetup/cryptsetup
BuildRequires: openssl-devel, popt-devel, device-mapper-devel
@ -11,6 +11,10 @@ Provides: cryptsetup-luks = %{version}-%{release}
Obsoletes: cryptsetup-luks < 1.4.0
Requires: cryptsetup-libs = %{version}-%{release}
Requires: libpwquality >= 1.2.0
# python subpackages were removed in F29; keep the obsoletes until F30 to
# support F28->F30 upgrade path.
Obsoletes: python2-cryptsetup < 2.1.0
Obsoletes: cryptsetup-python3 < 2.1.0
%global upstream_version %{version}
Source0: https://www.kernel.org/pub/linux/utils/cryptsetup/v2.0/cryptsetup-%{upstream_version}.tar.xz
@ -120,6 +124,9 @@ rm -rf %{buildroot}/%{_libdir}/*.la
%ghost %dir /run/cryptsetup
%changelog
* Thu Apr 04 2019 Kalev Lember <klember@redhat.com> - 2.1.0-3
- Add back python2-cryptsetup and cryptsetup-python3 obsoletes
* Mon Mar 18 2019 Milan Broz <gmazyland@gmail.com> - 2.1.0-2
- Rebuild for new libargon2 soname.