Handling differences between EPEL and Fedora

2013-02-22 Thread Juerg Haefliger
All, I'm in the process of building the dracut package that goes along with cloud-utils. I need to install different files for Fedora vs. EPEL (due to the different versions of dracut). How is this best handled? Can I just key off of a macro in the spec file? %if fedora <-- What goes here? cp

Re: Handling differences between EPEL and Fedora

2013-02-22 Thread Sandro "red" Mathys
To make life easier, the buildsystems provide some convenient helper variables for exactly that use case. See https://fedoraproject.org/wiki/Packaging:DistTag#Conditionals -- Sandro On Fri, Feb 22, 2013 at 9:51 AM, Juerg Haefliger wrote: > All, > > I'm in the process of building the dracut p

Re: Handling differences between EPEL and Fedora

2013-02-22 Thread Sandro "red" Mathys
On Fri, Feb 22, 2013 at 9:51 AM, Juerg Haefliger wrote: > > I'm in the process of building the dracut package that goes along with > cloud-utils. btw, do I understand that right, that you're developing (or at least packaging) a dracut module to enable growpart during boot? __

Re: Handling differences between EPEL and Fedora

2013-02-24 Thread Juerg Haefliger
On Fri, Feb 22, 2013 at 6:19 PM, Sandro "red" Mathys wrote: > > On Fri, Feb 22, 2013 at 9:51 AM, Juerg Haefliger wrote: >> >> I'm in the process of building the dracut package that goes along with >> cloud-utils. > > > btw, do I understand that right, that you're developing (or at least > packagi