fix bug that left ':'s behind and put only current (which is highest) EPICS version in PATH

This commit is contained in:
2024-04-04 16:58:49 +02:00
parent 87dea74dcd
commit cb710920d0
2 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@
Name: epics-base-%{EpicsVersion}
Summary: EPICS Base %{EpicsVersion}
Version: 1
Release: 6%{?dist}
Release: 7%{?dist}
License: EPICS Open License
Group: Development/Languages
URL: https://git.psi.ch/epics_base/base-7.0
@@ -198,7 +198,7 @@ shopt -s extglob
%{__chmod} 644 %{buildroot}%{prog_folder}/bin/*/caRepeater.service
# install the profile script
%{__install} epics-base.sh %{buildroot}%{prog_folder}/bin
/bin/sed 's!\$EPICS_BASE!%{prog_folder}!' epics-base.sh > %{buildroot}%{prog_folder}/bin/epics-base.sh
# copy over old libraries for compatibility
%if %{?rhel} > 7