[CentOS-devel] [PATCH] Added script for extracting what I think is the dist tag

Tue Jun 10 17:28:55 UTC 2014
Karanbir Singh <mail-lists at karan.org>

hi

On 06/10/2014 03:49 PM, Mike McLean wrote:
> I wrote a script for extracting the dist macro value a while back. One
> of the odd cases is when rpms have what /looks like/ a dist tag in the
> release field, but is in fact a hard coded part of the release. I've
> seen some pretty strange things.
> 
> At any rate, I figured out a way to extract the true dist tag, given the
> spec and the nvr. I've applied similar changes here for review.
> 


added in, looks good to me, not tested though.

Also, i wonder if spectool might be brought into the loop at some point
to address some of these things ?

- KB



> 
> 
> On Tue, Jun 10, 2014 at 10:35 AM, Mike McLean <mikem at imponderable.org
> <mailto:mikem at imponderable.org>> wrote:
> 
>     Also, I suggest piping that git log output through |grep import
>     |head -n 1. No need to process the entire history and we could have
>     non-import commits.
>     E.g. attached patch
> 
> 
> 
>     On Tue, Jun 10, 2014 at 10:29 AM, Karanbir Singh
>     <mail-lists at karan.org <mailto:mail-lists at karan.org>> wrote:
> 
>         good spot, pushed.
> 
>         On 06/10/2014 03:27 PM, Mike McLean wrote:
>         > typo
>         >
>         >
> 
>         --
>         Karanbir Singh
>         +44-207-0999389 <tel:%2B44-207-0999389> | http://www.karan.org/
>         | twitter.com/kbsingh <http://twitter.com/kbsingh>
>         GnuPG Key : http://www.karan.org/publickey.asc
>         _______________________________________________
>         CentOS-devel mailing list
>         CentOS-devel at centos.org <mailto:CentOS-devel at centos.org>
>         http://lists.centos.org/mailman/listinfo/centos-devel
> 
> 
> 
> 
> 
> _______________________________________________
> CentOS-devel mailing list
> CentOS-devel at centos.org
> http://lists.centos.org/mailman/listinfo/centos-devel
> 


-- 
Karanbir Singh
+44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh
GnuPG Key : http://www.karan.org/publickey.asc