mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
scstadmin.spec: Replace custom Requires line with package names
The scstadmin.spec.in file contained a custom Requires line that generated dependencies based on the full paths of the killall and rm commands. This approach is unconventional and could cause issues with dependency resolution. This patch replaces the custom Requires line with the package names providing the required commands, namely 'psmisc' for killall and 'coreutils' for rm. This change ensures proper dependency resolution and adheres to recommended practices for specifying dependencies in spec files. Fixes: https://github.com/SCST-project/scst/issues/152
This commit is contained in:
@@ -16,7 +16,7 @@ URL: http://scst.sourceforge.net/
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
AutoReqProv: yes
|
||||
Requires: %{expand:%%(for c in killall rm; do echo -n "$(which $c) "; done)}
|
||||
Requires: psmisc, coreutils
|
||||
|
||||
%description
|
||||
A tool for configuring SCST via the SCST sysfs interface. Allows to save,
|
||||
|
||||
Reference in New Issue
Block a user