contrib/rpm: use whitespace consistently

Double newline is used to visually separate sections.
This commit is contained in:
Lubomir Rintel 2018-07-10 08:47:31 +02:00
parent 91235ec2ba
commit 3f449654f7

View file

@ -384,6 +384,7 @@ This adds a NetworkManager configuration file to enable connectivity checking
via Fedora infrastructure.
%endif
%package config-server
Summary: NetworkManager config file for "server-like" defaults
Group: System Environment/Base
@ -399,6 +400,7 @@ ethernet devices with no carrier.
This package is intended to be installed by default for server
deployments.
%package dispatcher-routing-rules
Summary: NetworkManager dispatcher file for advanced routing rules
Group: System Environment/Base
@ -411,6 +413,7 @@ This adds a NetworkManager dispatcher file to support networking
configurations using "/etc/sysconfig/network-scripts/rule-NAME" files
(eg, to do policy-based routing).
%if 0%{with_nmtui}
%package tui
Summary: NetworkManager curses-based UI
@ -424,11 +427,13 @@ NetworkManager, to allow performing some of the operations supported
by nm-connection-editor and nm-applet in a non-graphical environment.
%endif
%prep
%setup -q -n NetworkManager-%{real_version}
#%patch1 -p1
%build
%if %{with regen_docs}
gtkdocize
@ -542,6 +547,7 @@ intltoolize --automake --copy --force
make %{?_smp_mflags}
%install
# install NM
make install DESTDIR=%{buildroot}
@ -606,6 +612,7 @@ else
--slave %{_sbindir}/ifdown ifdown %{_libexecdir}/nm-ifdown
fi
%preun
if [ $1 -eq 0 ]; then
# Package removal, not upgrade
@ -618,6 +625,7 @@ if [ $1 -eq 0 ]; then
fi
%systemd_preun NetworkManager-wait-online.service NetworkManager-dispatcher.service
%postun
/usr/bin/udevadm control --reload-rules || :
/usr/bin/udevadm trigger --subsystem-match=net || :
@ -685,6 +693,7 @@ fi
%doc NEWS AUTHORS README CONTRIBUTING TODO
%license COPYING
%if %{with adsl}
%files adsl
%{nmplugindir}/libnm-device-plugin-adsl.so
@ -692,27 +701,32 @@ fi
%exclude %{nmplugindir}/libnm-device-plugin-adsl.so
%endif
%if %{with bluetooth}
%files bluetooth
%{nmplugindir}/libnm-device-plugin-bluetooth.so
%endif
%if %{with team}
%files team
%{nmplugindir}/libnm-device-plugin-team.so
%endif
%if %{with wifi}
%files wifi
%{nmplugindir}/libnm-device-plugin-wifi.so
%endif
%if %{with wwan}
%files wwan
%{nmplugindir}/libnm-device-plugin-wwan.so
%{nmplugindir}/libnm-wwan.so
%endif
%if %{with ovs}
%files ovs
%{nmplugindir}/libnm-device-plugin-ovs.so
@ -720,12 +734,14 @@ fi
%{_mandir}/man7/nm-openvswitch.7*
%endif
%if %{with ppp}
%files ppp
%{_libdir}/pppd/%{ppp_version}/nm-pppd-plugin.so
%{nmplugindir}/libnm-ppp-plugin.so
%endif
%if %{with libnm_glib}
%files glib -f %{name}.lang
%{_libdir}/libnm-glib.so.*
@ -735,6 +751,7 @@ fi
%{_libdir}/girepository-1.0/NMClient-1.0.typelib
%endif
%if %{with libnm_glib}
%files glib-devel
%doc docs/api/html/*
@ -766,10 +783,12 @@ fi
%{_datadir}/vala/vapi/libnm-*.vapi
%endif
%files libnm -f %{name}.lang
%{_libdir}/libnm.so.*
%{_libdir}/girepository-1.0/NM-1.0.typelib
%files libnm-devel
%doc docs/api/html/*
%dir %{_includedir}/libnm
@ -785,6 +804,7 @@ fi
%{_datadir}/vala/vapi/libnm.vapi
%{_datadir}/dbus-1/interfaces/*.xml
%if %{with connectivity_fedora}
%files config-connectivity-fedora
%dir %{nmlibdir}
@ -792,16 +812,19 @@ fi
%{nmlibdir}/conf.d/20-connectivity-fedora.conf
%endif
%files config-server
%dir %{nmlibdir}
%dir %{nmlibdir}/conf.d
%{nmlibdir}/conf.d/00-server.conf
%files dispatcher-routing-rules
%{_sysconfdir}/%{name}/dispatcher.d/10-ifcfg-rh-routes.sh
%{_sysconfdir}/%{name}/dispatcher.d/no-wait.d/10-ifcfg-rh-routes.sh
%{_sysconfdir}/%{name}/dispatcher.d/pre-up.d/10-ifcfg-rh-routes.sh
%if %{with nmtui}
%files tui
%{_bindir}/nmtui
@ -811,5 +834,6 @@ fi
%{_mandir}/man1/nmtui*
%endif
%changelog
__CHANGELOG__