Hi, On Wednesday, 15 April 2015 at 00:10, Sandro Mani wrote: [...] > I was about to file a bug suggesting > > # Major digit of the proj so version > %global proj_somaj 9 > [...] > # proj DL-opened in ogrct.cpp, see also fix in %%prep > Requires: libproj.so.%{proj_somaj} > [...] > sed -i 's|libproj.so|libproj.so.%{proj_somaj}|g' ogr/ogrct.cpp > > but I haven't found how to correctly specify the explicit arch-correct > requires on the library. I suppose I want something which will ultimately > results in something like > > Konsole output > libproj.so.9()(64bit) > > but how can the "()(64bit)" part be specified? Something like: %if 0%{?__isa_bits} == 64 %global req_suf ()(64bit) %else %global req_suf %{nil} %endif and then: Requires: libproj.so.%{proj_somaj}%{req_suf} 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@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct