Fix build in EPEL7

epel9
Dan Vrátil 10 years ago
parent 500292dc27
commit 67d4fb7145

@ -23,7 +23,7 @@ BuildRequires: extra-cmake-modules
BuildRequires: qt5-qtbase-devel
BuildRequires: pkgconfig(NetworkManager) >= 0.9.8
%if 0%{?fedora} > 21
%if 0%{?fedora} >= 22 || 0%{?rhel} >= 7
BuildRequires: pkgconfig(libnm)
%else
BuildRequires: pkgconfig(libnm-glib) pkgconfig(libnm-util)
@ -40,7 +40,7 @@ Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: qt5-qtbase-devel
%if 0%{?fedora} > 21
%if 0%{?fedora} >= 22 || 0%{?rhel} >= 7
Requires: pkgconfig(libnm)
%else
Requires: pkgconfig(libnm-glib) pkgconfig(libnm-util)

Loading…
Cancel
Save