[libstoragemgmt] Add pkg upgrade path for ibm-v7k-plugin

tasleson tasleson at fedoraproject.org
Fri Jan 16 16:52:12 UTC 2015


commit a5a7b60c16434fe978a92ae735e55beee6305fa0
Author: Tony Asleson <tasleson at redhat.com>
Date:   Fri Jan 16 08:28:20 2015 -0600

    Add pkg upgrade path for ibm-v7k-plugin
    
    Signed-off-by: Tony Asleson <tasleson at redhat.com>

 libstoragemgmt.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/libstoragemgmt.spec b/libstoragemgmt.spec
index 0465e84..4dfa747 100644
--- a/libstoragemgmt.spec
+++ b/libstoragemgmt.spec
@@ -15,7 +15,7 @@
 
 Name:           libstoragemgmt
 Version:        1.1.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Storage array management library
 Group:          System Environment/Libraries
 License:        LGPLv2+
@@ -70,6 +70,8 @@ BuildRequires:  pywbem
 Requires:       pywbem %{name}-python
 Requires:       libstoragemgmt-python = %{version}-%{release}
 BuildArch:      noarch
+Provides:       %{name}-ibm-v7k-plugin = 2:%{version}-%{release}
+Obsoletes:      %{name}-ibm-v7k-plugin <= 2:0.1.0-3
 
 %description    smis-plugin
 The %{name}-smis-plugin package contains plug-in for generic SMI-S array
@@ -306,6 +308,10 @@ getent passwd libstoragemgmt >/dev/null || \
 %endif
 
 %changelog
+* Fri Jan 16 2015 Tony Asleson <tasleson at redhat.com> 1.1.0-2
+- Make updates work correctly for removed sub package
+  libstoragemgmt-ibm-v7k-plugin
+
 * Thu Dec 4 2014 Tony Asleson <tasleson at redhat.com> 1.1.0-1
 - New upstream release
 - Fix udev files directory


More information about the scm-commits mailing list