Files
NetworkManager/NetworkManager-rpmlintrc

12 lines
666 B
Plaintext
Raw Permalink Normal View History

Accepting request 953820 from GNOME:Next - Packaging additions with Autotools replacement: + Add Meson build requirement and replace Automake macros with Meson equivalent ones as autotools will be deprecated in the future. + Options passed to Meson to mimmic our default preferences: systemdsystemunitdir=%{_unitdir}, udev_dir=%{_udevdir}, dbus_conf_dir=%{_dbusconfdir}, iptables=%{_sbindir}/iptables, dnsmasq=%{_sbindir}/dnsmasq, dnssec_trigger=%{_libexecdir}\ /dnssec-trigger-script, dist_version=%{version}, polkit_agent_helper_1=%{_libexecdir}/polkit-1\ /polkit-agent-helper-1, hostname_persist=suse, switchable libaudit=%{libaudit_meson_opt}, iwd=true, pppd=%{_sbindir}\ /pppd, pppd_plugin_dir=%{_pppddir}, nm_cloud_setup=true, bluez5_dun=true, netconfig=%{_sbindir}/netconfig, dhclient=%{_sbindir}/dhclient, docs=true, switchable tests=%{tests_meson_opt}, more_asserts=0, more_logging=false, qt=false, and switchable teamdctl=true (teamctl is about to be deprecated). + Add conditionalized audit pkgconfig module build requirement to allow easier feature testing, and pass 'yes-disabled-by-default' to 'libaudit' Meson option. As an observation: Meson defaults passing 'yes' to this feature. + Add explicit c++_compiler build requirement to avoid build abortion. + Add explicit libselinux pkgconfig module build requirement checked by Meson and was already being pulled in by some other package. + Add polkit-gobject-1 pkgconfig module build requirement checked by Meson and needed for user auth-polkit support. + Add mobile-broadband-provider-info pkgconfig module build requirement checked by Meson and needed for ModemManager1 interface support. + Add sed command to fix server.conf config file location from defaultdocdir/NetworkManager/examples to defaultdocdir/NetworkManager. + Add useful %{_pppddir} and %{_dbusconfdir} macros to spec file, while dropping no longed needed pppddir shell variable definition and 'test -n "$pppddir" || exit 1' construct. + Add "< 1.21" version to libnm-glib-vpn1, libnm-glib4, and libnm-util2 < 1.21 to main package's Obsoletes tags, following packaging good practices to avoid future unwated behavior regarding versioning schemes. + Replace %version macro with hardcoded "0.9.1" version to the devel subpackage's %name-doc Obsoletes tag following packaging good practices to avoid future unwanted behaviors regarding versioning schemes (the doc subpackage was merged with the devel one in the 0.9.0 release). + Pass "%{?no_lang_C}" to %find_lang macro to avoid stripping any English translations (the default language) from main package. - Packaging deletions with Autotools replacement: + Remove data/server.conf from %doc macro in files section as it no longer works with Meson. + Remove "rm" command on server.conf file following sed command addition to fix the right location of the file. + Remove no longer useful conditional build abortion depending whether or not netconfig support was found 'grep "with_netconfig='no'" config.log' since this file isn't generated by Meson. + Remove no longer needed "find" command for GNU Libtool LA files deletion. + Drop no longer needed libtool build requirement as Meson does not use it. + Drop redundant sysconfig-netconfig build requirement as it does not add anything to the build anymore. + Drop comment about suse-release build requirement not being needed anymore, it's been deprecated for almost a decade now. + Drop setBadness for 'dbus-file-unauthorized' in the rpmlintrc: the new dbus file has been whitelisted already (bsc#1194799). - Split out NetworkManager-pppoe, needed to configure regular PPPoE connections (Not very common, as most users have PPPoE routers for the DSL connections). - Update to version 1.34.0: + initrd: wait for both IPv4 and IPv6 with "ip=dhcp,dhcp6" + core: better handle sd-resolved errors when resolving hostnames + nmcli: fix import WireGuard profile with DNS domain and address family disabled + ndisc: send router solicitations before expiry + policy: send earlier the ip configs to the DNS manager + core: support linking with LLD 13 + wireguard: importing wg-quick configuration files with nmcli no longer sets a negative, exclusive "dns-priority". This plays better with common split DNS setups that use systemd-resolved. Adjust the "dns-priority" to your liking after import yourself. + NetworkManager no longer listens for netlink events for traffic control objects (qdiscs and filters). + core: add internal nm-priv-helper service for separating privileges and have a way to drop capabilities from NetworkManager daemon. + bond: add support for setting queue-id of bond port. + dns: support configuring DNS over TLS (DoT) with systemd-resolved. + nmtui: add support for WireGuard profiles. + nmcli: add aliases `nmcli device up|down` beside connect|disconnect. + conscious language: Deprecate 'Device.Slaves' D-Bus property in favor of new 'Device.Ports' property. Depracate 'nm_device_*_get_slaves()' in favor of 'nm_device_get_ports()' in libnm. + nmcli: invoking nmcli command without arguments will now show 'default' instead of null address in route4 or route6 section. - Refresh patches with quilt. - Replace addFilter("suse-branding-unversioned-requires*") from rpmlintrc, with the current branding-requires-unversioned. - Update our Supplements to current standard. - Add the new internal nm-priv-helper.service to pre(un)/post(un) handling. OBS-URL: https://build.opensuse.org/request/show/953820 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/NetworkManager?expand=0&rev=425
2022-02-12 19:27:53 +00:00
# We have an unversioned branding-requires-unversioned
Accepting request 569408 from home:iznogood:branches:GNOME:Factory Stable version bump and silence lots and lots of rpmlints warnings. Bug filed for missing polkit-untracked-privs (boo#1077504) - Update to version 1.8.6: + Fix a daemon crash on permission check (bgo#787897). + Fix a daemon crash on VPN state change (bgo#787893). + Fix a nmcli crash in interactive mode's describe command (bgo#788104). + Fix termination of the nmcli interactive mode (rh#1517401). + Properly handle route metric of zero in keyfiles. + Add support for DSA switch devices (rh#1371289). + Fix a memory leak of connection D-Bus objects (rh#1461643). + A double close that could potentially race with the D-Bus thread reusing the same file descriptor (rh#1451236). + Connectivity check fixes (bgo#785281) (bgo#784629). + Fix the metered properties handling in libnm. + Avoid dropping agent secrets unnecessarily (bgo#789383). + Fix the asynchronous initialization of a secret agent in libnm. - Drop nm-disconnect-proxy-signals.patch and nm-vpn-remote-connection-disconnect-signals.patch: Fixed upstream. - Minor spec cleaning, tweak spec to silence a few rpm lint warnings. - Replace addFilter("dbus-policy-missing-allow") with addFilter("dbus-policy-allow-without-destination"), filter out the current rpmlint warning. - Add addFilter("suse-branding-unversioned-requires*") to rpmlintrc, we have this unversioned on purpose. - Add addFilter("systemd-service-without-service_add_post NetworkManager-wait-online.service") addFilter("systemd-service-without-service_add_pre NetworkManager-wait-online.service") addFilter("systemd-service-without-service_del_postun NetworkManager-wait-online.service") addFilter("systemd-service-without-service_del_preun NetworkManager-wait-online.service") to rpmlintrc, filter out warnings we do not care about nor want as we do not want to enable this service by default. - "Mark" %%{_sysconfdir}/dbus-1/system.d/org.freedesktop.NetworkManager.conf and %%config %{_sysconfdir}/dbus-1/system.d/nm-dispatcher.conf as config files in spec, silence rpmlint. OBS-URL: https://build.opensuse.org/request/show/569408 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/NetworkManager?expand=0&rev=294
2018-01-25 08:35:02 +00:00
# NetworkManager-branding on purpose, hence filter it out.
Accepting request 953820 from GNOME:Next - Packaging additions with Autotools replacement: + Add Meson build requirement and replace Automake macros with Meson equivalent ones as autotools will be deprecated in the future. + Options passed to Meson to mimmic our default preferences: systemdsystemunitdir=%{_unitdir}, udev_dir=%{_udevdir}, dbus_conf_dir=%{_dbusconfdir}, iptables=%{_sbindir}/iptables, dnsmasq=%{_sbindir}/dnsmasq, dnssec_trigger=%{_libexecdir}\ /dnssec-trigger-script, dist_version=%{version}, polkit_agent_helper_1=%{_libexecdir}/polkit-1\ /polkit-agent-helper-1, hostname_persist=suse, switchable libaudit=%{libaudit_meson_opt}, iwd=true, pppd=%{_sbindir}\ /pppd, pppd_plugin_dir=%{_pppddir}, nm_cloud_setup=true, bluez5_dun=true, netconfig=%{_sbindir}/netconfig, dhclient=%{_sbindir}/dhclient, docs=true, switchable tests=%{tests_meson_opt}, more_asserts=0, more_logging=false, qt=false, and switchable teamdctl=true (teamctl is about to be deprecated). + Add conditionalized audit pkgconfig module build requirement to allow easier feature testing, and pass 'yes-disabled-by-default' to 'libaudit' Meson option. As an observation: Meson defaults passing 'yes' to this feature. + Add explicit c++_compiler build requirement to avoid build abortion. + Add explicit libselinux pkgconfig module build requirement checked by Meson and was already being pulled in by some other package. + Add polkit-gobject-1 pkgconfig module build requirement checked by Meson and needed for user auth-polkit support. + Add mobile-broadband-provider-info pkgconfig module build requirement checked by Meson and needed for ModemManager1 interface support. + Add sed command to fix server.conf config file location from defaultdocdir/NetworkManager/examples to defaultdocdir/NetworkManager. + Add useful %{_pppddir} and %{_dbusconfdir} macros to spec file, while dropping no longed needed pppddir shell variable definition and 'test -n "$pppddir" || exit 1' construct. + Add "< 1.21" version to libnm-glib-vpn1, libnm-glib4, and libnm-util2 < 1.21 to main package's Obsoletes tags, following packaging good practices to avoid future unwated behavior regarding versioning schemes. + Replace %version macro with hardcoded "0.9.1" version to the devel subpackage's %name-doc Obsoletes tag following packaging good practices to avoid future unwanted behaviors regarding versioning schemes (the doc subpackage was merged with the devel one in the 0.9.0 release). + Pass "%{?no_lang_C}" to %find_lang macro to avoid stripping any English translations (the default language) from main package. - Packaging deletions with Autotools replacement: + Remove data/server.conf from %doc macro in files section as it no longer works with Meson. + Remove "rm" command on server.conf file following sed command addition to fix the right location of the file. + Remove no longer useful conditional build abortion depending whether or not netconfig support was found 'grep "with_netconfig='no'" config.log' since this file isn't generated by Meson. + Remove no longer needed "find" command for GNU Libtool LA files deletion. + Drop no longer needed libtool build requirement as Meson does not use it. + Drop redundant sysconfig-netconfig build requirement as it does not add anything to the build anymore. + Drop comment about suse-release build requirement not being needed anymore, it's been deprecated for almost a decade now. + Drop setBadness for 'dbus-file-unauthorized' in the rpmlintrc: the new dbus file has been whitelisted already (bsc#1194799). - Split out NetworkManager-pppoe, needed to configure regular PPPoE connections (Not very common, as most users have PPPoE routers for the DSL connections). - Update to version 1.34.0: + initrd: wait for both IPv4 and IPv6 with "ip=dhcp,dhcp6" + core: better handle sd-resolved errors when resolving hostnames + nmcli: fix import WireGuard profile with DNS domain and address family disabled + ndisc: send router solicitations before expiry + policy: send earlier the ip configs to the DNS manager + core: support linking with LLD 13 + wireguard: importing wg-quick configuration files with nmcli no longer sets a negative, exclusive "dns-priority". This plays better with common split DNS setups that use systemd-resolved. Adjust the "dns-priority" to your liking after import yourself. + NetworkManager no longer listens for netlink events for traffic control objects (qdiscs and filters). + core: add internal nm-priv-helper service for separating privileges and have a way to drop capabilities from NetworkManager daemon. + bond: add support for setting queue-id of bond port. + dns: support configuring DNS over TLS (DoT) with systemd-resolved. + nmtui: add support for WireGuard profiles. + nmcli: add aliases `nmcli device up|down` beside connect|disconnect. + conscious language: Deprecate 'Device.Slaves' D-Bus property in favor of new 'Device.Ports' property. Depracate 'nm_device_*_get_slaves()' in favor of 'nm_device_get_ports()' in libnm. + nmcli: invoking nmcli command without arguments will now show 'default' instead of null address in route4 or route6 section. - Refresh patches with quilt. - Replace addFilter("suse-branding-unversioned-requires*") from rpmlintrc, with the current branding-requires-unversioned. - Update our Supplements to current standard. - Add the new internal nm-priv-helper.service to pre(un)/post(un) handling. OBS-URL: https://build.opensuse.org/request/show/953820 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/NetworkManager?expand=0&rev=425
2022-02-12 19:27:53 +00:00
addFilter("branding-requires-unversioned*");
Accepting request 569408 from home:iznogood:branches:GNOME:Factory Stable version bump and silence lots and lots of rpmlints warnings. Bug filed for missing polkit-untracked-privs (boo#1077504) - Update to version 1.8.6: + Fix a daemon crash on permission check (bgo#787897). + Fix a daemon crash on VPN state change (bgo#787893). + Fix a nmcli crash in interactive mode's describe command (bgo#788104). + Fix termination of the nmcli interactive mode (rh#1517401). + Properly handle route metric of zero in keyfiles. + Add support for DSA switch devices (rh#1371289). + Fix a memory leak of connection D-Bus objects (rh#1461643). + A double close that could potentially race with the D-Bus thread reusing the same file descriptor (rh#1451236). + Connectivity check fixes (bgo#785281) (bgo#784629). + Fix the metered properties handling in libnm. + Avoid dropping agent secrets unnecessarily (bgo#789383). + Fix the asynchronous initialization of a secret agent in libnm. - Drop nm-disconnect-proxy-signals.patch and nm-vpn-remote-connection-disconnect-signals.patch: Fixed upstream. - Minor spec cleaning, tweak spec to silence a few rpm lint warnings. - Replace addFilter("dbus-policy-missing-allow") with addFilter("dbus-policy-allow-without-destination"), filter out the current rpmlint warning. - Add addFilter("suse-branding-unversioned-requires*") to rpmlintrc, we have this unversioned on purpose. - Add addFilter("systemd-service-without-service_add_post NetworkManager-wait-online.service") addFilter("systemd-service-without-service_add_pre NetworkManager-wait-online.service") addFilter("systemd-service-without-service_del_postun NetworkManager-wait-online.service") addFilter("systemd-service-without-service_del_preun NetworkManager-wait-online.service") to rpmlintrc, filter out warnings we do not care about nor want as we do not want to enable this service by default. - "Mark" %%{_sysconfdir}/dbus-1/system.d/org.freedesktop.NetworkManager.conf and %%config %{_sysconfdir}/dbus-1/system.d/nm-dispatcher.conf as config files in spec, silence rpmlint. OBS-URL: https://build.opensuse.org/request/show/569408 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/NetworkManager?expand=0&rev=294
2018-01-25 08:35:02 +00:00
# Filter out warning about missing systemd-service-without-service
# post/pre/postun/preun, we do not want to enable this service by
# default.
addFilter("systemd-service-without-service_add_post NetworkManager-wait-online.service");
addFilter("systemd-service-without-service_add_pre NetworkManager-wait-online.service");
addFilter("systemd-service-without-service_del_postun NetworkManager-wait-online.service");
addFilter("systemd-service-without-service_del_preun NetworkManager-wait-online.service");