On 04. 08. 19 1:14, Iñaki Ucar wrote:
Hi, Quick question not found in the docs. There's a package with a -devel subpackage. No package depends on this -devel and upstream removes the development files in the new release, so I just dropped the -devel subpackage. Now, it's improbable, but if the old -devel subpackage was installed, then "dnf upgrade" complains, obviously: https://bodhi.fedoraproject.org/updates/FEDORA-2019-f8c8592ad6 So the question is: should I add "Obsoletes: pkg-devel < $new_version" to pkg's SPEC? Is this a proper use of "Obsoletes"?
Yes. Exactly a right thing to do. -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok _______________________________________________ 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