Sync the spec file with upstream
This commit is contained in:
parent
ef05be83e2
commit
229955ef0b
@ -1,6 +1,6 @@
|
|||||||
%global wpa_supplicant_version 1:1.1
|
%global wpa_supplicant_version 1:1.1
|
||||||
|
|
||||||
%global ppp_version %(pkg-config --modversion pppd 2>/dev/null || echo bad)
|
%global ppp_version %(pkg-config --modversion pppd 2>/dev/null || sed -n 's/^#define\\s*VERSION\\s*"\\([^\\s]*\\)"$/\\1/p' %{_includedir}/pppd/patchlevel.h 2>/dev/null | grep . || echo bad)
|
||||||
%global glib2_version %(pkg-config --modversion glib-2.0 2>/dev/null || echo bad)
|
%global glib2_version %(pkg-config --modversion glib-2.0 2>/dev/null || echo bad)
|
||||||
|
|
||||||
%global epoch_version 1
|
%global epoch_version 1
|
||||||
@ -252,9 +252,7 @@ BuildRequires: dbus-devel >= %{dbus_version}
|
|||||||
BuildRequires: glib2-devel >= 2.40.0
|
BuildRequires: glib2-devel >= 2.40.0
|
||||||
BuildRequires: gobject-introspection-devel >= 0.10.3
|
BuildRequires: gobject-introspection-devel >= 0.10.3
|
||||||
%if %{with ppp}
|
%if %{with ppp}
|
||||||
# version constraint here is because the use of pkg-config to discover
|
BuildRequires: ppp-devel >= 2.4.5
|
||||||
# the ppp version (above) only works from 2.5.0 onwards
|
|
||||||
BuildRequires: ppp-devel >= 2.5.0
|
|
||||||
%endif
|
%endif
|
||||||
%if %{with crypto_gnutls}
|
%if %{with crypto_gnutls}
|
||||||
BuildRequires: gnutls-devel >= 2.12
|
BuildRequires: gnutls-devel >= 2.12
|
||||||
|
Loading…
Reference in New Issue
Block a user