https://bugzilla.rpmfusion.org/show_bug.cgi?id=2342
--- Comment #4 from Richard <hobbes1069(a)gmail.com> 2012-05-26 23:28:13 CEST ---
(In reply to comment #3)
For fedora 16, it is required to use the bundled enet. You can
make a minor adaptation of the first spec I made, before having
a fedora account, in the first entry at
https://bugzilla.redhat.com/show_bug.cgi?id=818401
or the direct link :-)
http://kenobi.mandriva.com/~pcpa/0ad.spec
Is the version in F16 just too old?
What is the proper way to check for what fedora version it
is being built? I can update the spec to automatically do
that, that is, adding back the "with_system_enet" macro,
that would be set to 0 if in fedora 16.
Probably responding myself, it is ok to add:
%if "%{dist}" == ".fc16"
if so, I can upload a new srpm.
Nah, use the "fedora" macro. Either:
%if 0%{?fedora} >= 16
do something
%endif
or
%if 0%{?fedora} <= 15
do something
%endif
whichever is more appropriate. Just make sure the default/best/safest action is
done if "fedora" doesn't exist. The leading 0 makes sure it resolves to
something.
--
Configure bugmail:
https://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.