On Tue, Nov 7, 2023 at 12:33 PM Milan Crha <mcrha@xxxxxxxxxx> wrote: > > On Tue, 2023-11-07 at 10:58 -0500, Neal Gompa wrote: > > It needs to be "appstream%{?_isa} >= 1.0.0~". > > Hi, > I'm sorry, I do not follow. Do you mean "1.0.0" is higher than > "1.0.0~git20231102.d88ed03-1.fc40", but lower than "1.0.0-2.fc40"? > That sounds odd to me. > Yes. So your %appstream_version macro should have "1.0.0~". > Both flatpak and gnome-software have > > Requires: appstream%{?_isa} >= %{appstream_version} > > adding the tilde only here and not into: > > BuildRequires: pkgconfig(appstream) >= %{appstream_version} > > will lead to a problem in the future (at least for me, I'll forget > about it very soon). > > What about removing that `Requires`? There is added un-versioned > dependency on libappstream.so.5()(64bit) anyway, which may work, as > long as the .soname versions are properly bumped on API/ABI changes, > right? I understand these `Requires` as "to be on a safe side" only. > You can do that too if you like. -- 真実はいつも一つ!/ Always, there's only one truth! _______________________________________________ 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, report it: https://pagure.io/fedora-infrastructure/new_issue