[scsi-target-utils] add missing requires

Andy Grover grover at fedoraproject.org
Tue Oct 25 23:11:30 UTC 2011


commit ae1e3ed004c81d79fff7a20b2580073ad92ad6e9
Author: Andy Grover <agrover at redhat.com>
Date:   Tue Oct 25 16:10:18 2011 -0700

    add missing requires
    
    tgt-admin expects to be able to use sg_inq and lsof, so make sure they're
    installed.
    
    Signed-off-by: Andy Grover <agrover at redhat.com>

 scsi-target-utils.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/scsi-target-utils.spec b/scsi-target-utils.spec
index 2cee249..c7873c2 100644
--- a/scsi-target-utils.spec
+++ b/scsi-target-utils.spec
@@ -1,6 +1,6 @@
 Name:           scsi-target-utils
 Version:        1.0.20
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        The SCSI target daemon and utility programs
 
 Group:          System Environment/Daemons
@@ -24,6 +24,7 @@ BuildRequires:  libibverbs-devel librdmacm-devel
 Requires(post): chkconfig
 Requires(preun): chkconfig
 Requires(preun): initscripts
+Requires: lsof sg3_utils
 
 %description
 The SCSI target package contains the daemon and tools to setup a SCSI targets.
@@ -99,6 +100,9 @@ fi
 
 
 %changelog
+* Tue Oct 25 2011 Andy Grover <agrover at redhat.com> - 1.0.20-2
+- Add missing requires lsof and sg3_utils
+
 * Tue Oct 4 2011 Andy Grover <agrover at redhat.com> - 1.0.20-1
 - New upstream version
   * New file location on Github


More information about the scm-commits mailing list