diff options
Diffstat (limited to 'redhat')
-rw-r--r-- | redhat/quagga.spec.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redhat/quagga.spec.in b/redhat/quagga.spec.in index bdde1930..0b2659fb 100644 --- a/redhat/quagga.spec.in +++ b/redhat/quagga.spec.in @@ -39,8 +39,8 @@ ############################################################################ ####################### distro specific tweaks ############################# -# default distro. Override with rpmbuild -D "dist_default XXX" -%define dist_default fc4 +# default distro. Override with rpmbuild -D "dist XXX" +%{expand: %%define default_dist %(rpm -q --qf 'fc%%{VERSION}' fedora-release | grep -v 'not installed')} %{!?dist: %define dist %{default_dist}} # as distros change packages we depend on, our Requires have to change, sadly. |