What I need is the latest stable version of a specific package on a specific fedora release, such as this link: https://bodhi.fedoraproject.org/rss/updates/?packages=libical&status=stable&releases=F42
.
The method I can think of at the moment is as follows: curl -s 'https://bodhi.fedoraproject.org/rss/updates/?packages=libical&status=stable&releases=F42' | xmllint - --xpath '(//rss/channel/item/description)[1]/text()' | python3 -c "import sys, html; print(html.unescape(sys.stdin.read()))" | xmllint - --html --xpath '(//ul)[1]/li/text()'
.
But this approach has many drawbacks. Is there a simpler and more straightforward solution?
One premise is that I do not want to check locally using the dnf
command, because I can think of that solution too. Since I am not using that approach, it means I have my reasons.