[libhbalinux] Require grep for the post/postun scriptlets

Petr Šabata psabata at fedoraproject.org
Wed Oct 3 12:00:29 UTC 2012


commit 9b5417a45441326c2af066a8cf63f20c73ef9143
Author: Petr Šabata <contyk at redhat.com>
Date:   Wed Oct 3 13:54:07 2012 +0200

    Require grep for the post/postun scriptlets

 libhbalinux.spec |   37 +++++++++++++++++++++----------------
 1 files changed, 21 insertions(+), 16 deletions(-)
---
diff --git a/libhbalinux.spec b/libhbalinux.spec
index f244660..5f9ee33 100644
--- a/libhbalinux.spec
+++ b/libhbalinux.spec
@@ -1,24 +1,26 @@
-Name:           libhbalinux
-Version:        1.0.14
-Release:        3%{?dist}
-Summary:        FC-HBAAPI implementation using scsi_transport_fc interfaces
-Group:          System Environment/Libraries
-License:        LGPLv2
-URL:            http://www.open-fcoe.org
-Source0:        %{name}-%{version}.tar.gz
-Patch0:         libhbalinux-1.0.13-conf.patch
-Patch1:         libhbalinux-1.0.14-archiver.patch
-BuildRequires:  libhbaapi-devel libpciaccess-devel libtool automake
-Requires:       libhbaapi
+Name:               libhbalinux
+Version:            1.0.14
+Release:            4%{?dist}
+Summary:            FC-HBAAPI implementation using scsi_transport_fc interfaces
+Group:              System Environment/Libraries
+License:            LGPLv2
+URL:                http://www.open-fcoe.org
+Source0:            %{name}-%{version}.tar.gz
+Patch0:             libhbalinux-1.0.13-conf.patch
+Patch1:             libhbalinux-1.0.14-archiver.patch
+BuildRequires:      libhbaapi-devel libpciaccess-devel libtool automake
+Requires:           libhbaapi
+Requires(post):     grep
+Requires(postun):   grep
 
 %description
 SNIA HBAAPI vendor library built on top of the scsi_transport_fc interfaces.
 
 %package devel
-Summary:        A file needed for libhbalinux application development
-Group:          Development/Libraries
-Requires:       %{name}%{?_isa} = %{version}-%{release}
-Requires:       pkgconfig
+Summary:            A file needed for libhbalinux application development
+Group:              Development/Libraries
+Requires:           %{name}%{?_isa} = %{version}-%{release}
+Requires:           pkgconfig
 
 %description devel
 The libhbalinux-devel package contains the library pkgconfig file.
@@ -68,6 +70,9 @@ fi
 %{_libdir}/%{name}.so
 
 %changelog
+* Wed Oct 03 2012 Petr Šabata <contyk at redhat.com> - 1.0.14-4
+- Require grep for the post/postun scriptlets (#859397)
+
 * Thu Aug 16 2012 Petr Šabata <contyk at redhat.com> - 1.0.14-3
 - Include the unversioned library in the devel subpackage.
 


More information about the scm-commits mailing list