Re: Use of Epoch/improper ordering

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

 



> On Tue, Jun 08, 2021 at 03:31:07PM -0500, Greg Hellings wrote:
> 
> While you might have no choice, I'd caution that there a few traps
> with using Epoch, not just with Koji.  One particular trap is that
> subpackage dependencies like:
> 
>   %package devel
>   ...
>   Requires:      %{name}%{?_isa} = %{version}-%{release}
> 
> will break because the dependency should be:
> 
>   Requires:      %{name}%{?_isa} = %{epoch}:%{version}-%{release}
> 
> More insidious is that things like:
> 
>   Obsoletes:     oldpackage < %{version}-%{release}
> 
> will silently do the wrong thing.

Oops, good catch! I've updated that and rebuilt again.

> 
> If you had the choice of moving to upstream 1.9.1, I'd do that instead.

Unfortunately, upstream only releases on their own timetable and this can sometimes be years between versions. I was hoping to use that, as well, but with 1.9.0 out just in Autumn of last year it's unlikely we'll see a 1.9.1 before the Fedora 36 release going by past releases. Upstream mostly just builds off of SVN HEAD for their own purposes and development moves very slowly.

--Greg

> 
> Rich.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [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