FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

LinkBack Thread Tools
Old 09-25-2011, 03:55 PM
Ville-Pekka Vainio
Default Problems with the %{?_isa} macro in dependencies


I have tried using the %{_isa} macro in a couple of my packages as
instructed in
and I'm having problems with it.

First case:
The arch-specific libvoikko spell checking package requires the Finnish
morphology, which is in the arch-specific malaga-suomi-voikko package. I
did the following change (the versioned dependency was unnecessary):
-Requires: malaga-suomi-voikko >= 1.4
+Requires: malaga-suomi-voikko%{?_isa}

Now AutoQA's depcheck says there is a problem with the i686 dependency
on x86_64:

"SKIPBROKEN: libvoikko-3.3.1-0.2.rc1.fc16.i686 from pending has
depsolving problems
SKIPBROKEN: --> Package: libvoikko-3.3.1-0.2.rc1.fc16.i686 (pending)
--> Requires: malaga-suomi-voikko(x86-32)"

Second case:
I'm renaming the openoffice.org-voikko package to libreoffice-voikko.
Review request: <https://bugzilla.redhat.com/show_bug.cgi?id=739331>,
spec: <http://vpv.fedorapeople.org/packages/libreoffice-voikko.spec>.

The Provides and Obsoletes are as follows:
Provides: openoffice.org-voikko = %{version}-%{release}
Obsoletes: openoffice.org-voikko < 3.1.2-6

This works, but if I change the Obsoletes to
Obsoletes: openoffice.org-voikko%{?_isa} < 3.1.2-6
then the package does not obsolete openoffice.org-voikko any more, which
results in file conflicts.

Could someone please explain what's going on here?

Ville-Pekka Vainio
devel mailing list

Thread Tools

All times are GMT. The time now is 06:46 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org