%{?_isa} does not work in Obsoletes
According to my testing, Obsoletes only apply to package names, not provides. The upgrade path now works.
This commit is contained in:
parent
88485ff875
commit
cad2424635
@ -1,7 +1,7 @@
|
|||||||
Name: opencryptoki
|
Name: opencryptoki
|
||||||
Summary: Implementation of the PKCS#11 (Cryptoki) specification v2.11
|
Summary: Implementation of the PKCS#11 (Cryptoki) specification v2.11
|
||||||
Version: 2.3.2
|
Version: 2.3.2
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: CPL
|
License: CPL
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://sourceforge.net/projects/opencryptoki
|
URL: http://sourceforge.net/projects/opencryptoki
|
||||||
@ -35,7 +35,7 @@ This package contains the Slot Daemon (pkcsslotd) and general utilities.
|
|||||||
%package libs
|
%package libs
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Summary: The run-time libraries for opencryptoki package
|
Summary: The run-time libraries for opencryptoki package
|
||||||
Obsoletes: %{name}-libs%{?_isa} < 2.3.2
|
Obsoletes: %{name}-libs < 2.3.2
|
||||||
|
|
||||||
%description libs
|
%description libs
|
||||||
Opencryptoki implements the PKCS#11 specification v2.11 for a set of
|
Opencryptoki implements the PKCS#11 specification v2.11 for a set of
|
||||||
@ -62,7 +62,7 @@ opencryptoki and PKCS#11 based applications
|
|||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Summary: The software token implementation for opencryptoki
|
Summary: The software token implementation for opencryptoki
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
Obsoletes: %{name}-libs%{?_isa} < 2.3.2
|
Obsoletes: %{name}-libs < 2.3.2
|
||||||
|
|
||||||
%description swtok
|
%description swtok
|
||||||
Opencryptoki implements the PKCS#11 specification v2.11 for a set of
|
Opencryptoki implements the PKCS#11 specification v2.11 for a set of
|
||||||
@ -78,7 +78,7 @@ without any specific cryptographic hardware.
|
|||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Summary: Trusted Platform Module (TPM) device support for opencryptoki
|
Summary: Trusted Platform Module (TPM) device support for opencryptoki
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
Obsoletes: %{name}-libs%{?_isa} < 2.3.2
|
Obsoletes: %{name}-libs < 2.3.2
|
||||||
|
|
||||||
%description tpmtok
|
%description tpmtok
|
||||||
Opencryptoki implements the PKCS#11 specification v2.11 for a set of
|
Opencryptoki implements the PKCS#11 specification v2.11 for a set of
|
||||||
@ -95,7 +95,7 @@ Trusted Platform Module (TPM) devices in the opencryptoki stack.
|
|||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Summary: ICA cryptographic devices (clear-key) support for opencryptoki
|
Summary: ICA cryptographic devices (clear-key) support for opencryptoki
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
Obsoletes: %{name}-libs%{?_isa} < 2.3.2
|
Obsoletes: %{name}-libs < 2.3.2
|
||||||
|
|
||||||
%description icatok
|
%description icatok
|
||||||
Opencryptoki implements the PKCS#11 specification v2.11 for a set of
|
Opencryptoki implements the PKCS#11 specification v2.11 for a set of
|
||||||
@ -112,7 +112,7 @@ cryptographic hardware such as IBM 4764 or 4765 that uses the
|
|||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Summary: CCA cryptographic devices (secure-key) support for opencryptoki
|
Summary: CCA cryptographic devices (secure-key) support for opencryptoki
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
Obsoletes: %{name}-libs%{?_isa} < 2.3.2
|
Obsoletes: %{name}-libs < 2.3.2
|
||||||
|
|
||||||
%description ccatok
|
%description ccatok
|
||||||
Opencryptoki implements the PKCS#11 specification v2.11 for a set of
|
Opencryptoki implements the PKCS#11 specification v2.11 for a set of
|
||||||
@ -262,6 +262,9 @@ exit 0
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 09 2010 Michal Schmidt <mschmidt@redhat.com> 2.3.2-2
|
||||||
|
- Apply Obsoletes to package names, not provides.
|
||||||
|
|
||||||
* Tue Sep 14 2010 Dan Horák <dan[at]danny.cz> 2.3.2-1
|
* Tue Sep 14 2010 Dan Horák <dan[at]danny.cz> 2.3.2-1
|
||||||
- new upstream release 2.3.2
|
- new upstream release 2.3.2
|
||||||
- put STDLLs in separate packages to match upstream package design
|
- put STDLLs in separate packages to match upstream package design
|
||||||
|
Loading…
Reference in New Issue
Block a user