RPM spec files: Add dependency clauses

scst.spec: Add "Requires: depmod find rm" and "Provides: scst"
scstadmin.spec: Add "Requires: rm"

Proposed-by: Consus <consus@gmx.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6487 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2015-08-27 17:56:52 +00:00
parent 175463ca84
commit dc070e83d8
2 changed files with 3 additions and 0 deletions

View File

@@ -64,6 +64,8 @@ BuildRequires: %{?kernel_rpm:%{kernel_rpm} = %{krpmver} %{kernel_devel_rpm} = %{
Source: %{kmod_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
AutoReqProv: no
Requires: %{expand:%%(for c in depmod find rm; do echo -n "$(which $c) "; done)}
Provides: scst
%description
A generic SCSI target subsystem for Linux that allows to convert any Linux

View File

@@ -13,6 +13,7 @@ URL: http://scst.sourceforge.net/
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
AutoReqProv: yes
Requires: %{expand:%%(for c in rm; do echo -n "$(which $c) "; done)}
%description
A tool for configuring SCST via the SCST sysfs interface. Allows to save,