From 7f7eb48bda11699a6e8a6bee66b13dbbcb41f091 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:49:46 +0100 Subject: [PATCH] fix udev libdir [release 1.30.4-2mamba;Thu Apr 22 2021] --- NetworkManager.spec | 46 +++++++++++++-------------------------------- 1 file changed, 13 insertions(+), 33 deletions(-) diff --git a/NetworkManager.spec b/NetworkManager.spec index 7552c62..2801078 100644 --- a/NetworkManager.spec +++ b/NetworkManager.spec @@ -1,15 +1,15 @@ %define majver %(echo %version | cut -d. -f 1-2) %define pppdver %(rpm -q --queryformat '%%{version}\\n' ppp | head -n1) Name: NetworkManager -Version: 1.30.2 -Release: 1mamba +Version: 1.30.4 +Release: 2mamba Summary: A hardware level network management tool integrated with D-Bus Group: System/Kernel and Hardware Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://wiki.gnome.org/Projects/NetworkManager -Source: http://ftp.gnome.org/pub/GNOME/sources/NetworkManager/%{majver}/%{name}-%{version}.tar.xz +Source: https://download.gnome.org/sources/NetworkManager/%{majver}/%{name}-%{version}.tar.xz Source1: NetworkManager-0.8.2-polkit-localauthority.patch Patch0: NetworkManager-0.9.10.0-stop-before-dbus.patch Patch7: %{name}-0.9.4.0-wpa_supplicant_longer_timeout.patch @@ -18,19 +18,17 @@ Patch9: NetworkManager-1.20.2-upstream-gtkdoc-fix.patch Patch10: NetworkManager-1.20.2-readline-termcap.patch License: GPL ## AUTOBUILDREQ-BEGIN -BuildRequires: ModemManager-devel BuildRequires: glibc-devel -BuildRequires: ldconfig BuildRequires: libaudit-devel BuildRequires: libbluetooth-devel BuildRequires: libcurl-devel BuildRequires: libglib-devel BuildRequires: libjansson-devel +BuildRequires: libmm-devel BuildRequires: libndp-devel BuildRequires: libnewt-devel BuildRequires: libnspr-devel BuildRequires: libnss-devel -BuildRequires: libpolkit-devel BuildRequires: libpsl-devel BuildRequires: libreadline-devel BuildRequires: libselinux-devel @@ -75,12 +73,12 @@ This package contains the shared libraries. Summary: Devel package for %{name} Group: Development/Libraries Requires: libnm = %{?epoch:%epoch:}%{version}-%{release} -Obsoletes: NetworkManager-devel Provides: NetworkManager-devel +Obsoletes: NetworkManager-devel < 1.30.4 %description -n libnm-devel NetworkManager is a hardware level network management tool integrated with the D-Bus subsystem. -This package contains static libraries and header files need for development. +This package contains static libraries and header files needed for development. %package apidocs Group: Documentation @@ -95,35 +93,11 @@ This package includes the %{name} API documentation. %prep %setup -q -#%patch0 -p1 -#%patch8 -p1 -#%patch9 -p1 %patch10 -p1 %build -#% configure \ -# --with-udev-dir=/lib/udev \ -# --with-tests \ -# --enable-doc \ -# --enable-gtk-doc \ -# --enable-ifcfg-rh \ -# --with-systemdsystemunitdir=%{_unitdir} \ -# --with-session-tracking=systemd \ -# --with-libnm-glib \ -# --with-modem-manager-1 \ -# --enable-bluez4 \ -# --enable-bluez5-dun \ -# --enable-teamdctl \ -# --enable-polkit \ -# --enable-modify-system \ -# --enable-concheck \ -# --enable-wifi \ -# --enable-config-plugin-ibft \ -# --enable-polkit-agent \ -# LIBS="-ltermcap" - %meson \ - -D udev_dir=/lib/udev \ + -D udev_dir=%{_prefix}/lib/udev \ -D tests=yes \ -D docs=true \ -D ifcfg_rh=true \ @@ -310,6 +284,12 @@ exit 0 %{_datadir}/doc/NetworkManager/examples/server.conf %changelog +* Thu Apr 22 2021 Silvan Calarco 1.30.4-2mamba +- fix udev libdir + +* Tue Apr 20 2021 Automatic Build System 1.30.4-1mamba +- automatic version update by autodist + * Sat Mar 13 2021 Automatic Build System 1.30.2-1mamba - automatic version update by autodist