On Thu, Sep 8, 2016 at 5:34 AM, Christopher Meng <i@xxxxxxxx> wrote: > > > On Thursday, September 8, 2016, Kevin Kofler <kevin.kofler@xxxxxxxxx> wrote: >> >> I wrote: >> > <= 1.17.0 should still match that, I think (because there's no -Release >> > in >> > there), but still, <= Obsoletes are usually a bad idea (< is safer). >> >> PS: To be clear, I would use either: >> Obsoletes: evas-generic-loaders < 1.17.1 >> if I am sure that the version will never go back to 1.17.0, or: >> Obsoletes: evas-generic-loaders < 1.17.0-100 >> to be safe. (It should catch all current and future EVRs on the branches >> that still ship the old version (in the worst case, use Release: 99.1, >> 99.2, >> etc.), but still allow you to bring back evas-generic-loaders-1.17.0 if >> needed.) > > > 100 is not enough at all, even 9999. Since efl has higher version, just use > proper macros. > > Obsoletes: evas-generic-loaders <= %{version}-%{release} This is bad idea though. > > > Obsoletes: evas-generic-loaders%{?_isa} <= %{version}-%{release} As I wrote week ago to ML, %{?_isa} is virtual provides and it will never work for Obsoletes. > > > > -- > > Yours sincerely, > Christopher Meng > > http://cicku.me > > -- > devel mailing list > devel@xxxxxxxxxxxxxxxxxxxxxxx > https://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx > -- -Igor Gnatenko -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx