fix udev libdir [release 1.30.4-2mamba;Thu Apr 22 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 17:49:46 +01:00
parent 8e20bbdec9
commit 7f7eb48bda

View File

@ -1,15 +1,15 @@
%define majver %(echo %version | cut -d. -f 1-2) %define majver %(echo %version | cut -d. -f 1-2)
%define pppdver %(rpm -q --queryformat '%%{version}\\n' ppp | head -n1) %define pppdver %(rpm -q --queryformat '%%{version}\\n' ppp | head -n1)
Name: NetworkManager Name: NetworkManager
Version: 1.30.2 Version: 1.30.4
Release: 1mamba Release: 2mamba
Summary: A hardware level network management tool integrated with D-Bus Summary: A hardware level network management tool integrated with D-Bus
Group: System/Kernel and Hardware Group: System/Kernel and Hardware
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://wiki.gnome.org/Projects/NetworkManager 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 Source1: NetworkManager-0.8.2-polkit-localauthority.patch
Patch0: NetworkManager-0.9.10.0-stop-before-dbus.patch Patch0: NetworkManager-0.9.10.0-stop-before-dbus.patch
Patch7: %{name}-0.9.4.0-wpa_supplicant_longer_timeout.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 Patch10: NetworkManager-1.20.2-readline-termcap.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: ModemManager-devel
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libaudit-devel BuildRequires: libaudit-devel
BuildRequires: libbluetooth-devel BuildRequires: libbluetooth-devel
BuildRequires: libcurl-devel BuildRequires: libcurl-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libjansson-devel BuildRequires: libjansson-devel
BuildRequires: libmm-devel
BuildRequires: libndp-devel BuildRequires: libndp-devel
BuildRequires: libnewt-devel BuildRequires: libnewt-devel
BuildRequires: libnspr-devel BuildRequires: libnspr-devel
BuildRequires: libnss-devel BuildRequires: libnss-devel
BuildRequires: libpolkit-devel
BuildRequires: libpsl-devel BuildRequires: libpsl-devel
BuildRequires: libreadline-devel BuildRequires: libreadline-devel
BuildRequires: libselinux-devel BuildRequires: libselinux-devel
@ -75,12 +73,12 @@ This package contains the shared libraries.
Summary: Devel package for %{name} Summary: Devel package for %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: libnm = %{?epoch:%epoch:}%{version}-%{release} Requires: libnm = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: NetworkManager-devel
Provides: NetworkManager-devel Provides: NetworkManager-devel
Obsoletes: NetworkManager-devel < 1.30.4
%description -n libnm-devel %description -n libnm-devel
NetworkManager is a hardware level network management tool integrated with the D-Bus subsystem. 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 %package apidocs
Group: Documentation Group: Documentation
@ -95,35 +93,11 @@ This package includes the %{name} API documentation.
%prep %prep
%setup -q %setup -q
#%patch0 -p1
#%patch8 -p1
#%patch9 -p1
%patch10 -p1 %patch10 -p1
%build %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 \ %meson \
-D udev_dir=/lib/udev \ -D udev_dir=%{_prefix}/lib/udev \
-D tests=yes \ -D tests=yes \
-D docs=true \ -D docs=true \
-D ifcfg_rh=true \ -D ifcfg_rh=true \
@ -310,6 +284,12 @@ exit 0
%{_datadir}/doc/NetworkManager/examples/server.conf %{_datadir}/doc/NetworkManager/examples/server.conf
%changelog %changelog
* Thu Apr 22 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.30.4-2mamba
- fix udev libdir
* Tue Apr 20 2021 Automatic Build System <autodist@mambasoft.it> 1.30.4-1mamba
- automatic version update by autodist
* Sat Mar 13 2021 Automatic Build System <autodist@mambasoft.it> 1.30.2-1mamba * Sat Mar 13 2021 Automatic Build System <autodist@mambasoft.it> 1.30.2-1mamba
- automatic version update by autodist - automatic version update by autodist