update spec file to make ppp_version dependent on fedora version

This way we can build rawhide packages against F20.

To build master on F20, you need to specify --dist
  fedpkg --dist f20 local
This commit is contained in:
Thomas Haller 2014-07-04 12:33:53 +02:00
parent 11e58160ed
commit 672348a955

View File

@ -4,7 +4,11 @@
%define glib2_version 2.32.0 %define glib2_version 2.32.0
%define wireless_tools_version 1:28-0pre9 %define wireless_tools_version 1:28-0pre9
%define libnl3_version 3.2.7 %define libnl3_version 3.2.7
%define ppp_version 2.4.5
%if (0%{?fedora} && 0%{?fedora} > 20)
%define ppp_version 2.4.6 %define ppp_version 2.4.6
%endif
%define snapshot .git20140620 %define snapshot .git20140620
%define git_sha 63b0a2f5 %define git_sha 63b0a2f5