Re: Testing package version is spec file

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

 



Thanks Adam.

Yes there is a new shell script that does the new document generation.
I experimented with using the %{exists: ...} macro but could not get
it to work. If you have an example at hand I would greatly appreciate
it.

Best regards

On Wed, May 8, 2024 at 10:46 AM Adam Williamson
<adamwill@xxxxxxxxxxxxxxxxx> wrote:
>
> There are various strategies for parsing versions, it depends on the
> upstream version scheme. But I'd actually suggest looking if you can do
> this indirectly: instead of checking for the version, check for some
> other marker that indicates which approach you need to use. For
> instance, maybe some file or other will be present in one case but not
> the other; can you not just test for that, and choose the process to
> use based on the result?
--
_______________________________________________
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




[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