On Friday, 02 September 2016 at 18:57, Stephen Gallagher wrote:
> On 09/02/2016 12:54 PM, Robbie Harwood wrote:
> > Stephen Gallagher <sgall...@redhat.com> writes:
> > 
> >> On 09/02/2016 07:14 AM, Igor Gnatenko wrote:
> >>>
> >>> * Weird obsoletes (broken)
> >>> "krb5-server" has "Obsoletes: krb5-server-1.14.3-8.fc26.i686".
> >>> Basically it will not obsolete anything because it's threated as
> >>> package name (and we definitely don't have such package name).
> >>
> >> This definitely looks odd... Robbie?
> > 
> > This is part of something I was requested to add (from the RHEL
> > packaging where we have lines like `Obsoletes:
> > krb5-server-1.11.3-49.el7.i686`, added by a previous maintainer) wherein
> > the 64-bit versions of packages need to obsolete the 32-bit versions
> > because we run into problems if both are installed.

Why were there both versions of the krb5-server package in the repos
in the first place? What problems occured?

> > If what's in the spec file is not the correct way to accomplish that,
> > what is?  I am unable to find documentation for any of this.

I'd add something like this:
%ifarch x86_64
Obsoletes: krb5-server <= last version that caused issues
%endif

so that this doesn't end up in all arches. If I understand
correctly, this affects only x86_64 due to it being multilib.

Regards,
Dominik
-- 
Fedora http://fedoraproject.org/wiki/User:Rathann
RPMFusion http://rpmfusion.org
"Faith manages."
        -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
--
devel mailing list
devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Reply via email to