Proper F18 & F19 spec notation

Troy Dawson tdawson at redhat.com
Wed Mar 13 14:13:46 UTC 2013


Hi All,
With the new F19 guidelines now in effect, I'm seeing I have lots of
broken dependencies that want ruby(abi) and I'm in the middle of fixing
them up.

I can do something simple like.

%if 0%{?fedora} >= 19
BuildRequires: ruby(release) >= %{rubyabi}
%else
BuildRequires: ruby(abi) >= %{rubyabi}
%endif

But that just feels sorta hackish.

I've looked through emails and the Guidelines, but I can't find an
official way for your spec files to work with both F19, F18, and
sometimes EPEL6.
Am I missing something, or am I doing it right above.

Thanks
Troy


More information about the ruby-sig mailing list