SHA256
1
0
forked from pool/libfabric
libfabric/pre_checkin.sh
Nicolas Morey 08f2f39cab - Add -Wno-incompatible-pointer-types to CFLAGS to enable building
for 32bit with GCC 14.

If this request is ok, please forward it soon to factory so that
it is ready when the default compiler is switched.

OBS-URL: https://build.opensuse.org/package/show/science:HPC/libfabric?expand=0&rev=103
2024-08-08 16:01:35 +00:00

9 lines
331 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 localrun format_spec_file