On Mon, Aug 5, 2019 at 11:32 AM Iñaki Ucar <iu...@fedoraproject.org> 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, this is correct usage of Obsoletes.

-- 
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
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

Reply via email to