From 7905d1ade3a61a882bb06f2f4e2a6f8a18fb6b27 Mon Sep 17 00:00:00 2001 From: Tim Landscheidt Date: Fri, 8 Mar 2019 02:23:24 +0000 Subject: [PATCH] Fix requirement for %preun (instead of %postun) scriptlet --- libzfcphbaapi.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libzfcphbaapi.spec b/libzfcphbaapi.spec index cb7485e..913fbbd 100644 --- a/libzfcphbaapi.spec +++ b/libzfcphbaapi.spec @@ -3,7 +3,7 @@ Name: libzfcphbaapi Summary: HBA API for the zFCP device driver Version: 2.2.0 -Release: 1%{?dist} +Release: 2%{?dist} License: CPL URL: http://www.ibm.com/developerworks/linux/linux390/zfcp-hbaapi.html # http://www.ibm.com/developerworks/linux/linux390/zfcp-hbaapi-%%{hbaapiver}.html @@ -20,7 +20,7 @@ BuildRequires: sg3_utils-devel BuildRequires: libhbaapi-devel Requires: libhbaapi Requires(post): grep -Requires(postun): grep sed +Requires(preun): grep sed Provides: s390utils-libzfcphbaapi = 2:1.20.0-4 Obsoletes: s390utils-libzfcphbaapi <= 2:1.20.0-3 @@ -93,6 +93,9 @@ grep -q -e "^libzfcphbaapi" /etc/hba.conf && %changelog +* Fri Mar 8 2019 Tim Landscheidt - 2.2.0-2 +- Fix requirement for %%preun (instead of %%postun) scriptlet + * Thu Feb 28 2019 Dan HorĂ¡k - 2.2.0-1 - updated to 2.2.0