Re: Dropping elfutils-libelf-devel-static and elfutils-devel-static subpackages

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

 



On Thu, Jul 23, 2020 at 1:25 AM Mark Wielaard <mjw@xxxxxxxxxxxxxxxxx> wrote:
>
> Hi,
>
> On Tue, 2020-07-21 at 15:21 -0700, Josh Stone wrote:
> > On 7/21/20 3:12 PM, Mark Wielaard wrote:
> > > > > Is there a procedure to follow for dropping these sub-packages, or can
> > > > > I simply remove them from the spec file?
> > > >
> > > > Maybe add Obsoletes to the devel subpackages, but not Provides.
> > > >
> > > > https://docs.fedoraproject.org/en-US/packaging-guidelines/#renaming-or-replacing-existing-packages
> > >
> > > You mean add an Obsoletes: elfutils-devel-static to the elfutils-devel
> > > subpackage? Does that really work with packages that are normally build
> > > requires of other packages?
> >
> > Yes, that's what I mean, and make sure to version that like the link
> > describes. AFAIK the Obsoletes alone will just solve the upgrade path,
> > but you would need Provides to satisfy the build requires. That doesn't
> > make sense to do in this case, since you're not going to provide static
> > functionality in the "replacement".
>
> OK. Thanks. I had a chat with the kexec-tools maintainers and it turns
> out that they already link dynamically (since a couple of years) but
> the elfutils-devel-static BuildRequires was left in (and since it
> Requires elfutils-devel, it all build fine anyway). They agreed to
> remove the BuildRequires. So nothing should block the removal anymore.
>
> I committed the removal of the two static subpackages and added an
> Obsoletes: elfutils-devel-static%{depsuffix} < 0.180-5 to elfutils-
> devel and an Obsoletes: elfutils-libelf-devel-static%{depsuffix} <
> 0.180-5 to elfutils-devel.
>
> But I haven't done a build yet to give people a chance to yell and
> scream this is the wrong way to do it. If nobody complains I'll do a
> build of elfutils-0.180-5 for rawhide on Friday.

The subpackage removal and addition of appropriate Obsoletes tags
looks correct to me.

Fabio
_______________________________________________
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




[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