SCIENTIFIC-LINUX-DEVEL Archives

January 2015

SCIENTIFIC-LINUX-DEVEL@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Phil Wyett <[log in to unmask]>
Reply To:
Date:
Fri, 30 Jan 2015 18:03:48 +0000
Content-Type:
multipart/signed
Parts/Attachments:
text/plain (691 bytes) , signature.asc (851 bytes)
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



ATOM RSS1 RSS2