On 15.04.2015 14:05, Dominik 'Rathann' Mierzejewski wrote:
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}
Thanks
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct