Re: Noarch package depending on an arch-specific package, how to handle it?

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

 



Thanks for your help Rex and Panu.

I've updated the package, the updated .spec file is at
http://vpv.fedorapeople.org/packages/python-pymtp.spec

I decided to depend on the libmtp soname, because a libmtp soname bump
will probably lead to pymtp being broken. I used the following "trick",
once recommended to me by Ville SkyttÃ:

%global libmtp libmtp.so.8
%ifarch x86_64 ppc64 ia64 sparc64 s390x
%global mark64 ()(64bit)
%endif

Requires:       %{libmtp}%{?mark64}

-- 
Ville-Pekka Vainio

--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging



[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux