libsmbclient.h in FC7
Marcin Zajączkowski
mszpak at wp.pl
Thu Apr 19 20:35:54 UTC 2007
Marcin Zajączkowski wrote:
> Patrice Dumas wrote:
> (...)
>> Anyway both solutions are acceptable in my opinion.
>
> Thanks for all your opinions.
> I've chosen version with "if" macro to allow keep me one file for a few
> releases.
>
> Whould you tell me, is there a better way to determine Fedora version than:
Last construction was always true despite the version given as an
argument...
This should be better:
%if %(rpmquery --qf '%{VERSION}' fedora-release) > 5
BuildRequires: libsmbclient-devel >= 3.0
%endif
>
> ?
>
>
> Regards
> Marcin
>
More information about the devel
mailing list