Toshio Kuratomi (a.badger@xxxxxxxxx) said: > Does this look like the right generic structure for doing this: > > %if 0%{?fedora} >= X || 0%{?rhel} >= Y > # Do things from X until Current Fedora, Y until Current RHEL > # Y should be the latest released version if we don't know that > # it's not going to change in the next version > %else > %if %{fedora} && 0%{fedora} < X && ! %{rhel} > # Do things for Fedora < X > %else > %if ! %{fedora} && %{rhel} && 0%{rhel} < Y > # Do things for RHEL < Y > %else > # Do things for any other distros > %endif > %endif > %endif > > If so, then we'd want to prettify and codify it a bit so we can put it > in the Packaging Guidelines Looks reasonable. Bill -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list