From bc36dde52f5dceba5cffb425aad43224b21d2fd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Klime=C5=A1?= Date: Tue, 10 Apr 2012 09:42:23 +0200 Subject: [PATCH] Fix Fedora version check for cases where "fedora" is undefined (rh #810851) --- NetworkManager.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NetworkManager.spec b/NetworkManager.spec index 19c8a87..c825c8a 100644 --- a/NetworkManager.spec +++ b/NetworkManager.spec @@ -10,7 +10,7 @@ %define snapshot .git20120328_2 %define realversion 0.9.4.0 -%if 0%{?fedora} < 17 +%if 0%{?fedora} && 0%{?fedora} < 17 %define systemd_dir /lib/systemd/system %else %define systemd_dir %{_prefix}/lib/systemd/system @@ -93,7 +93,7 @@ BuildRequires: wimax-devel BuildRequires: gnome-bluetooth-libs-devel >= 2.27.7.1-1 %endif BuildRequires: systemd systemd-devel -%if 0%{?fedora} < 17 +%if 0%{?fedora} && 0%{?fedora} < 17 # systemd.pc is in systemd-units for F16 and below BuildRequires: systemd-units %endif