From 672348a9558413149761152ab79f8f8d05ba8c42 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Fri, 4 Jul 2014 12:33:53 +0200 Subject: [PATCH] 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 --- NetworkManager.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NetworkManager.spec b/NetworkManager.spec index e48b925..ff2ab22 100644 --- a/NetworkManager.spec +++ b/NetworkManager.spec @@ -4,7 +4,11 @@ %define glib2_version 2.32.0 %define wireless_tools_version 1:28-0pre9 %define libnl3_version 3.2.7 + +%define ppp_version 2.4.5 +%if (0%{?fedora} && 0%{?fedora} > 20) %define ppp_version 2.4.6 +%endif %define snapshot .git20140620 %define git_sha 63b0a2f5