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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alan Dunn wrote:
> but is there an easy way to do this for a version number in say, EVR
> form? That is, something like
> 
> %if %{program_version} > 1.2.3
> ...
> %endif

Just figure out the Fedora releases with that version and conditionalize 
based on the Fedora release. If the required version was released as an 
update, you can use a versioned BuildRequires and/or Requires to enforce the 
minimum version (at build time and at run time, respectively).

        Kevin Kofler


-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux