Attention: F16 packages needing rebuilds due to the trailing slash bug of rpm-4.9.1

Adam Jackson ajax at redhat.com
Wed Aug 17 14:43:29 UTC 2011


On 8/17/11 10:41 AM, Adam Jackson wrote:

> for i in $(cat panu-list) ; do
>       j=$(koji -q latest-pkg f16-updates-testing $(rpmname $i) | \
>           awk '{ print $1 }')
>       rpmdev-vercmp $i $j>&  /dev/null
>       [ $? == 12 ]&&  echo $j
> done

I left out an important step here:

rpmname() {
     echo $1 | rev | cut -f 3- -d - | rev
}

- ajax


More information about the devel mailing list