[opencryptoki] add virtual opencryptoki(token) Provides to token modules and as Requires

Dan Horák sharkcz at fedoraproject.org
Mon Jan 28 11:44:13 UTC 2013


commit 6294303b305c1941009d0695485eca48810b4f81
Author: Dan Horák <dan at danny.cz>
Date:   Mon Jan 28 12:44:06 2013 +0100

    add virtual opencryptoki(token) Provides to token modules and as Requires
    
      to main package (#904986)

 opencryptoki.spec |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/opencryptoki.spec b/opencryptoki.spec
index 3600b60..6893c83 100644
--- a/opencryptoki.spec
+++ b/opencryptoki.spec
@@ -1,7 +1,7 @@
 Name:			opencryptoki
 Summary:		Implementation of the PKCS#11 (Cryptoki) specification v2.11
 Version:		2.4.2
-Release:		2%{?dist}
+Release:		3%{?dist}
 License:		CPL
 Group:			System Environment/Base
 URL:			http://sourceforge.net/projects/opencryptoki
@@ -28,6 +28,7 @@ BuildRequires:		systemd-units
 BuildRequires:		libica-devel >= 2.0
 %endif
 Requires:		%{name}-libs%{?_isa} = %{version}-%{release}
+Requires:		%{name}(token)
 Requires(post):		systemd-units
 Requires(preun):	systemd-units
 Requires(postun):	systemd-units
@@ -74,6 +75,7 @@ Group:			System Environment/Libraries
 Summary:		The software token implementation for opencryptoki
 Requires:		%{name}-libs%{?_isa} = %{version}-%{release}
 Obsoletes:		%{name}-libs < 2.3.2
+Provides:		%{name}(token)
 
 %description swtok
 Opencryptoki implements the PKCS#11 specification v2.11 for a set of
@@ -90,6 +92,7 @@ Group:			System Environment/Libraries
 Summary:		Trusted Platform Module (TPM) device support for opencryptoki
 Requires:		%{name}-libs%{?_isa} = %{version}-%{release}
 Obsoletes:		%{name}-libs < 2.3.2
+Provides:		%{name}(token)
 
 %description tpmtok
 Opencryptoki implements the PKCS#11 specification v2.11 for a set of
@@ -107,6 +110,7 @@ Group:			System Environment/Libraries
 Summary:		ICA cryptographic devices (clear-key) support for opencryptoki
 Requires:		%{name}-libs%{?_isa} = %{version}-%{release}
 Obsoletes:		%{name}-libs < 2.3.2
+Provides:		%{name}(token)
 
 %description icatok
 Opencryptoki implements the PKCS#11 specification v2.11 for a set of
@@ -124,6 +128,7 @@ Group:			System Environment/Libraries
 Summary:		CCA cryptographic devices (secure-key) support for opencryptoki
 Requires:		%{name}-libs%{?_isa} = %{version}-%{release}
 Obsoletes:		%{name}-libs < 2.3.2
+Provides:		%{name}(token)
 
 %description ccatok
 Opencryptoki implements the PKCS#11 specification v2.11 for a set of
@@ -271,6 +276,10 @@ fi
 
 
 %changelog
+* Mon Jan 28 2013 Dan Horák <dan[at]danny.cz> - 2.4.2-3
+- add virtual opencryptoki(token) Provides to token modules and as Requires
+  to main package (#904986)
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.4.2-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list