From 7e5a0ba30063afd11020b71fedb7786885c20308 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 3 Nov 2018 23:50:54 +0000 Subject: [PATCH 1/2] scst.spec: Avoid that rpm complains about expanding a variable in a comment git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7602 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scst.spec.in b/scst.spec.in index 6186d106a..c1ca942ed 100644 --- a/scst.spec.in +++ b/scst.spec.in @@ -12,7 +12,7 @@ %{echo:kversion=%{kversion} } # kernel_rpm: Name of the kernel RPM if the kernel is available as an RPM. -# krpmver: Version of the kernel RPM. Not necessarily identical to %{kversion}. +# krpmver: Version of the kernel RPM. Not necessarily identical to kversion. %if %{expand:%%(rpm --quiet -qf /lib/modules/%{kversion}/kernel/arch 2>/dev/null; echo $((1-$?)))} %define kernel_rpm %{expand:%%( From a009f410287dd4394acb0f8ebe32423d6b4fb11d Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 3 Nov 2018 23:52:32 +0000 Subject: [PATCH 2/2] scstadmin.spec: Add /usr/bin/killall to the requirements list git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7603 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scstadmin/scstadmin.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scstadmin/scstadmin.spec.in b/scstadmin/scstadmin.spec.in index a3c8afa67..086aa6f76 100644 --- a/scstadmin/scstadmin.spec.in +++ b/scstadmin/scstadmin.spec.in @@ -13,7 +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)} +Requires: %{expand:%%(for c in killall rm; do echo -n "$(which $c) "; done)} %description A tool for configuring SCST via the SCST sysfs interface. Allows to save,