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