Re: [CentOS] noob question about mock

2011-01-05 Thread Michael Gliwinski
On Wednesday 05 Jan 2011 00:18:36 Nico Kadel-Garcia wrote: > On Tue, Jan 4, 2011 at 4:00 PM, wrote: > > Michael Gliwinski writes: > >> Actually, mock can build an SRPM from spec file and dir with sources: > >> > >> $ mock --buildsrpm --spec=/path/to/spec --source=/path/to/src/dir > >> > >> I'

Re: [CentOS] noob question about mock

2011-01-04 Thread Nico Kadel-Garcia
On Tue, Jan 4, 2011 at 4:00 PM, wrote: > Michael Gliwinski writes: > >> Actually, mock can build an SRPM from spec file and dir with sources: >> >>   $ mock --buildsrpm --spec=/path/to/spec --source=/path/to/src/dir >> >> I've been using it at least since 1.0.5, which is definitely in EPEL, not

Re: [CentOS] noob question about mock

2011-01-04 Thread nux
Michael Gliwinski writes: > Actually, mock can build an SRPM from spec file and dir with sources: > > $ mock --buildsrpm --spec=/path/to/spec --source=/path/to/src/dir > > I've been using it at least since 1.0.5, which is definitely in EPEL, not > sure > if it was available in older versions

Re: [CentOS] noob question about mock

2011-01-04 Thread Michael Gliwinski
On Thursday 30 Dec 2010 14:11:20 Ryan Wagoner wrote: > On Thu, Dec 30, 2010 at 8:51 AM, wrote: > > Hi, > > > > Been recently more and more tempted to use mock for building rpms, but > > looking at it I have one problem. As far as I could read about it, mock > > essentially rebuilds srpms so to u

Re: [CentOS] noob question about mock

2011-01-03 Thread Nico Kadel-Garcia
On Mon, Jan 3, 2011 at 2:11 AM, JohnS wrote: > > On Mon, 2011-01-03 at 00:20 -0500, Nico Kadel-Garcia wrote: >> > Which Version Number?  There are a few of them already patched from F12 >> > to Rawhide.  No I do not have anything to do with CentOS Extras but I >> > have the currious mind. >> >> I'

Re: [CentOS] noob question about mock

2011-01-02 Thread JohnS
On Mon, 2011-01-03 at 00:20 -0500, Nico Kadel-Garcia wrote: > > Which Version Number? There are a few of them already patched from F12 > > to Rawhide. No I do not have anything to do with CentOS Extras but I > > have the currious mind. > > I'm using the mock-1.0.14 from "epel-testing", that has

Re: [CentOS] noob question about mock

2011-01-02 Thread Nico Kadel-Garcia
On Mon, Jan 3, 2011 at 12:13 AM, JohnS wrote: > > On Sun, 2011-01-02 at 22:14 -0500, Nico Kadel-Garcia wrote: > >> I'd love to see it backported to CentOS 'extras' or 'build' setups. >> It's a better tool and supports more releases, including hooks now for >> CentOS 6 when it is published. (The ho

Re: [CentOS] noob question about mock

2011-01-02 Thread JohnS
On Sun, 2011-01-02 at 22:14 -0500, Nico Kadel-Garcia wrote: > I'd love to see it backported to CentOS 'extras' or 'build' setups. > It's a better tool and supports more releases, including hooks now for > CentOS 6 when it is published. (The hooks assume that CentOS 6 will > live in the same locat

Re: [CentOS] noob question about mock

2011-01-02 Thread Nico Kadel-Garcia
On Sun, Jan 2, 2011 at 3:18 PM, Lucian wrote: > On Sun, Jan 2, 2011 at 1:03 PM, Nico Kadel-Garcia wrote: >> Better behavior with extensive autofs tables. (Older mock, in my >> experience, gets very confused and starts force unmounting direct >> automount targets in the midst of processing, which

Re: [CentOS] noob question about mock

2011-01-02 Thread Lucian
On Sun, Jan 2, 2011 at 1:03 PM, Nico Kadel-Garcia wrote: > Better behavior with extensive autofs tables. (Older mock, in my > experience, gets very confused and starts force unmounting direct > automount targets in the midst of processing, which is *nasty* and > disables my home directory in my fa

Re: [CentOS] noob question about mock

2011-01-02 Thread Nico Kadel-Garcia
On Sun, Jan 2, 2011 at 12:48 AM, Lucian wrote: > On Sun, Jan 2, 2011 at 4:00 AM, Nico Kadel-Garcia wrote: >> You can do it inside the mock chroot cage. I do, on occasion. The >> difficult is that I find myself wanting things like emacs to edit code >> and patches, RCS to manage versions of my new

Re: [CentOS] noob question about mock

2011-01-01 Thread Lucian
On Sun, Jan 2, 2011 at 4:00 AM, Nico Kadel-Garcia wrote: > You can do it inside the mock chroot cage. I do, on occasion. The > difficult is that I find myself wanting things like emacs to edit code > and patches, RCS to manage versions of my new .spec files, and > unpredictable dependencies as I wr

Re: [CentOS] noob question about mock

2011-01-01 Thread Nico Kadel-Garcia
On Thu, Dec 30, 2010 at 9:45 AM, Leonard den Ottolander wrote: > Hi, > > On Thu, 2010-12-30 at 13:51 +, n...@li.nux.ro wrote: >> As far as I could read about it, mock >> essentially rebuilds srpms so to use it I would need a separate "classical" >> build environment to create those srpms in th

Re: [CentOS] noob question about mock

2010-12-30 Thread Gordon Messmer
On 12/30/2010 05:51 AM, n...@li.nux.ro wrote: > Been recently more and more tempted to use mock for building rpms, but > looking at it I have one problem. As far as I could read about it, mock > essentially rebuilds srpms so to use it I would need a separate "classical" > build environment to creat

Re: [CentOS] noob question about mock

2010-12-30 Thread nux
Ryan Wagoner writes: > On Thu, Dec 30, 2010 at 8:51 AM, wrote: >> Hi, >> >> Been recently more and more tempted to use mock for building rpms, but >> looking at it I have one problem. As far as I could read about it, mock >> essentially rebuilds srpms so to use it I would need a separate "classi

Re: [CentOS] noob question about mock

2010-12-30 Thread Leonard den Ottolander
Hi, On Thu, 2010-12-30 at 13:51 +, n...@li.nux.ro wrote: > As far as I could read about it, mock > essentially rebuilds srpms so to use it I would need a separate "classical" > build environment to create those srpms in the first place. > Am I right or did I get something terribly wrong? Si

Re: [CentOS] noob question about mock

2010-12-30 Thread Ryan Wagoner
On Thu, Dec 30, 2010 at 8:51 AM, wrote: > Hi, > > Been recently more and more tempted to use mock for building rpms, but > looking at it I have one problem. As far as I could read about it, mock > essentially rebuilds srpms so to use it I would need a separate "classical" > build environment to c

[CentOS] noob question about mock

2010-12-30 Thread nux
Hi, Been recently more and more tempted to use mock for building rpms, but looking at it I have one problem. As far as I could read about it, mock essentially rebuilds srpms so to use it I would need a separate "classical" build environment to create those srpms in the first place. Am I right o