Re: How to specify explicit requires on library

2015-04-15 Thread Sandro Mani
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: li

Re: How to specify explicit requires on library

2015-04-15 Thread Dominik 'Rathann' Mierzejewski
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|libpro

How to specify explicit requires on library

2015-04-14 Thread Sandro Mani
Hello, I was looking at the gdal spec [1] and noticed the following lines in %prep # libproj is dlopened; upstream sources point to .so, which is usually not present # http://trac.osgeo.org/gdal/ticket/3602 sed -i 's|libproj.so|libproj.so.0|g' ogr/ogrct.cpp The problem is that a libproj sonam