Fix Fedora version check for cases where "fedora" is undefined (rh #810851)
This commit is contained in:
parent
fc54dd3346
commit
bc36dde52f
@ -10,7 +10,7 @@
|
|||||||
%define snapshot .git20120328_2
|
%define snapshot .git20120328_2
|
||||||
%define realversion 0.9.4.0
|
%define realversion 0.9.4.0
|
||||||
|
|
||||||
%if 0%{?fedora} < 17
|
%if 0%{?fedora} && 0%{?fedora} < 17
|
||||||
%define systemd_dir /lib/systemd/system
|
%define systemd_dir /lib/systemd/system
|
||||||
%else
|
%else
|
||||||
%define systemd_dir %{_prefix}/lib/systemd/system
|
%define systemd_dir %{_prefix}/lib/systemd/system
|
||||||
@ -93,7 +93,7 @@ BuildRequires: wimax-devel
|
|||||||
BuildRequires: gnome-bluetooth-libs-devel >= 2.27.7.1-1
|
BuildRequires: gnome-bluetooth-libs-devel >= 2.27.7.1-1
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: systemd systemd-devel
|
BuildRequires: systemd systemd-devel
|
||||||
%if 0%{?fedora} < 17
|
%if 0%{?fedora} && 0%{?fedora} < 17
|
||||||
# systemd.pc is in systemd-units for F16 and below
|
# systemd.pc is in systemd-units for F16 and below
|
||||||
BuildRequires: systemd-units
|
BuildRequires: systemd-units
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user