contrib/rpm: pull in formatting fixes from Fedora

This commit is contained in:
Lubomir Rintel 2024-05-29 15:24:13 +02:00
parent e0a74d5288
commit 1d41735ca8

View File

@ -658,6 +658,7 @@ This is only for backward compatibility with initscripts (network-scripts).
Preferably use nmcli instead.
%endif
%prep
%autosetup -p1 -n NetworkManager-%{real_version}
@ -925,7 +926,7 @@ autoreconf --install --force
%if %{with ifcfg_rh}
--enable-ifcfg-rh=yes \
%else
--enable-ifcfg-rh=no \
--enable-ifcfg-rh=no \
%endif
--enable-ifupdown=no \
%if %{with ppp}
@ -1014,6 +1015,7 @@ touch %{buildroot}%{_sbindir}/ifup
touch %{buildroot}%{_sbindir}/ifdown
%endif
%check
%if %{with meson}
%if %{with test}
@ -1298,6 +1300,7 @@ fi
%{nmlibdir}/dispatcher.d/pre-up.d/10-ifcfg-rh-routes.sh
%endif
%if %{with nmtui}
%files tui
%{_bindir}/nmtui