Re: libsmbclient.h in FC7

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

 



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
> 

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux