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

Re: libsmbclient.h in FC7



On Wed, 2007-04-18 at 20:52 +0200, Marcin Zajączkowski wrote:
> Hi,
> 
> 
> I was surprised when my package (fuse-smb) failed during last rawhide
> rebuild in mock.
> 
> In log there is:
> checking libsmbclient.h usability... no
> checking libsmbclient.h presence... no
> checking for libsmbclient.h... no
> configure: error: Please install libsmbclient header files.
> 
> Up to FC6 libsmbclient.h is in samba-common (which is in BuildRequires),
> but after small investigation I noticed that in FC7 this file is in
> separate package libsmbclient-devel and dependency should be added.
> 
> I would like to ask should I do something like:
> if "%fedora" > "6"
>     BuildRequires: libsmbclient-devel
> %endif
> 

Can't you just specify a dependency on the header file and let rpm
figure out which is the right package?
Or is this not allowed for BuildRequires ?

Simo.


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