libfabric/pre_checkin.sh
Nicolas Morey 4e8479a47e Accepting request 1227162 from home:NMorey:branches:science:HPC
- Add psm3-fix-SIGILL-on-system-not-supporting-AVX.patch to fix
  SIGILL hapening during init on older CPU (bsc#1213538, bsc#1233356).
- Refresh libfabric-libtool.patch tu support patch -p0

OBS-URL: https://build.opensuse.org/request/show/1227162
OBS-URL: https://build.opensuse.org/package/show/science:HPC/libfabric?expand=0&rev=106
2024-11-29 15:18:23 +00:00

9 lines
326 B
Bash

#!/bin/bash
# This script has to be run prior to a check-in if changes were done
# to spec and/or changes
GIT_VER=$(grep "%define git_ver" libfabric.spec)
VERSION=$(egrep "^Version:" libfabric.spec)
sed -i -e 's/^%define git_ver.*$/'"$GIT_VER/" -e 's/^Version:.*$/'"$VERSION/" fabtests.spec
osc service run format_spec_file