Problems with the %{?_isa} macro in dependencies

Ville-Pekka Vainio vpvainio at
Sun Sep 25 15:55:42 UTC 2011


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 package to libreoffice-voikko.
Review request: <>,
spec: <>.

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

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

Could someone please explain what's going on here?

Ville-Pekka Vainio

More information about the devel mailing list