Conditionally applying a patch based on a program's EVR

2009-07-09 Thread Alan Dunn
I want to conditionally apply a patch in a spec file based upon the version of a package. (There's an emacs package that needs a patch to work with the latest version of xemacs, but this patch shouldn't be applied for previous versions of xemacs.) I know that for checking something like Fedora

Re: Conditionally applying a patch based on a program's EVR

2009-07-09 Thread Jochen Schmitt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 09.07.2009 21:59, schrieb Alan Dunn: I want to conditionally apply a patch in a spec file based upon the version of a package. (There's an emacs package that needs a patch to work with the latest version of xemacs, but this patch shouldn't be

Re: Conditionally applying a patch based on a program's EVR

2009-07-09 Thread Panu Matilainen
On Thu, 9 Jul 2009, Alan Dunn wrote: I want to conditionally apply a patch in a spec file based upon the version of a package. (There's an emacs package that needs a patch to work with the latest version of xemacs, but this patch shouldn't be applied for previous versions of xemacs.) I know