In theory I've just published a fixed package that should resolve the issue.
Thanks for the bug report!
Pat
On 01/30/2015 12:03 PM, Phil Wyett wrote:
> Hi all,
>
> After switching my main home server from CentOS 6 to SL 6 today. I began
> building packages using the sl mock config(s) for it.
>
> Example:
>
> mock -r sl6x-x86_64 <name-version.el6.src.rpm>
>
> Upon build completion I looked in the results folder to find the rpm
> files were named.
>
> Example:
>
> name-version.Linux.rpm
>
> 'Linux' was where 'dist' should be, for 6 'el6'.
>
> A quick check of the sl mock config files for 6 I found the following in
> all the cfg files.
>
> config_opts['macros']['%dist'] = 'Linux'
>
> I could override this by doing:
>
> mock -D 'dist .el6' ... etc.
>
> but for a distro and version specific config I should not need to do
> this. Should we change these config files to correctly set 'dist' to
> 'el6'?
>
> Regards
>
> Phil
>
--
Pat Riehecky
Scientific Linux developer
Fermi National Accelerator Laboratory
www.fnal.gov
www.scientificlinux.org