Hi On 06/11/2014 04:45 PM, Pat Riehecky wrote: > From: Pat Riehecky <riehecky at fnal.gov> > > --- return_disttag.sh | 3 +++ 1 files changed, 3 insertions(+), > 0 deletions(-) > > diff --git a/return_disttag.sh b/return_disttag.sh index > f7dc610..f850356 100755 --- a/return_disttag.sh +++ > b/return_disttag.sh @@ -73,6 +73,9 @@ nvr1="${pkg%.src.rpm}" > mydist="XXXjsdf9ur7qlkasdh4gygXXX" nvr2=$(rpm --define "dist > $mydist" -q --specfile "SPECS/$packagename.spec" --qf > '%{n}-%{v}-%{r}\n' 2>/dev/null | head -n 1) this should not really create the srpm should it ? > > +# clean up SRPM, since it is only used for its name +rm -f ${nvr2} > >/dev/null 2>&1 not sure what needs removing here.. -- Karanbir Singh, Project Lead, The CentOS Project +44-207-0999389 | http://www.centos.org/ | twitter.com/CentOS GnuPG Key : http://www.karan.org/publickey.asc