cedadev / jasmin_scivm

9 stars 0 forks source link

check that all devel packages depend on exact versions of base packages #53

Closed alaniwi closed 8 years ago

alaniwi commented 8 years ago

After spotting and fixing a library version mismatch with hdf5 / hdf5-devel in what was installed on the builder, ensure that all other devel packages depend on the exact base version, so that (at least after upgrading to the fixed versions), this can't happen again.

Also ensure that devel packages are installed in the meta RPM, to force upgrade of any devel packages that do not currently depend on exact base version.

There may or may not be any such problems remaining, but need to check.

alaniwi commented 8 years ago

Scriptlet to check deps:

devel_pkgs=`rpm -qa | grep devel | grep ceda`

for p in $devel_pkgs
do
    echo "=== $p ==="
    base_pkg=`echo $p | sed s/-devel.*$//`
    rpm -qR $p | grep -w $base_pkg
done

Need to rerun once everything otherwise ready, but based on what is currently installed on the builder:

OK: nco, netcdf-fortran, octave, netcdf, netcdf-c++, hdf, proj, hdf5 needing attention: gdal, grib_api, udunits, geos, grass, cmor,

Update: now all fine for what is currently installed.