On 30/03/2023 02:54, Simon Pichugin wrote:
I understand that it's not the correct way... Could you please suggest how something like this can be achieved? (during the upgrade - check if the old and the new package versions are the same)

You should use %triggerun instead:

%triggerun -- %{name} < OLD_VERSION
# do something

--
Sincerely,
  Vitaly Zaitsev (vit...@easycoding.org)
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to