Fix flatpak build
This commit is contained in:
parent
d11b67721a
commit
268730fdde
@ -697,6 +697,7 @@ Preferably use nmcli instead.
|
|||||||
%endif
|
%endif
|
||||||
-Dsession_tracking=systemd \
|
-Dsession_tracking=systemd \
|
||||||
-Dsuspend_resume=systemd \
|
-Dsuspend_resume=systemd \
|
||||||
|
-Dsystemdsystemunitdir=%{_unitdir} \
|
||||||
-Dsystem_ca_path=/etc/pki/tls/cert.pem \
|
-Dsystem_ca_path=/etc/pki/tls/cert.pem \
|
||||||
-Ddbus_conf_dir=%{dbus_sys_dir} \
|
-Ddbus_conf_dir=%{dbus_sys_dir} \
|
||||||
-Dtests=yes \
|
-Dtests=yes \
|
||||||
@ -833,6 +834,7 @@ autoreconf --install --force
|
|||||||
--with-ebpf=%{ebpf_enabled} \
|
--with-ebpf=%{ebpf_enabled} \
|
||||||
--with-session-tracking=systemd \
|
--with-session-tracking=systemd \
|
||||||
--with-suspend-resume=systemd \
|
--with-suspend-resume=systemd \
|
||||||
|
--with-systemdsystemunitdir=%{_unitdir} \
|
||||||
--with-system-ca-path=/etc/pki/tls/cert.pem \
|
--with-system-ca-path=/etc/pki/tls/cert.pem \
|
||||||
--with-dbus-sys-dir=%{dbus_sys_dir} \
|
--with-dbus-sys-dir=%{dbus_sys_dir} \
|
||||||
--with-tests=yes \
|
--with-tests=yes \
|
||||||
@ -904,7 +906,7 @@ rm -f %{buildroot}%{nmplugindir}/*.la
|
|||||||
# Ensure the documentation timestamps are constant to avoid multilib conflicts
|
# Ensure the documentation timestamps are constant to avoid multilib conflicts
|
||||||
find %{buildroot}%{_datadir}/gtk-doc -exec touch --reference configure.ac '{}' \+
|
find %{buildroot}%{_datadir}/gtk-doc -exec touch --reference configure.ac '{}' \+
|
||||||
|
|
||||||
%if 0%{?__debug_package}
|
%if 0%{?__debug_package} && ! 0%{?flatpak}
|
||||||
mkdir -p %{buildroot}%{_prefix}/src/debug/NetworkManager-%{real_version}
|
mkdir -p %{buildroot}%{_prefix}/src/debug/NetworkManager-%{real_version}
|
||||||
cp valgrind.suppressions %{buildroot}%{_prefix}/src/debug/NetworkManager-%{real_version}
|
cp valgrind.suppressions %{buildroot}%{_prefix}/src/debug/NetworkManager-%{real_version}
|
||||||
%endif
|
%endif
|
||||||
@ -1061,10 +1063,10 @@ fi
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%{_mandir}/man5/*
|
%{_mandir}/man5/*
|
||||||
%{_mandir}/man7/nmcli-examples.7*
|
%{_mandir}/man7/nmcli-examples.7*
|
||||||
%{_mandir}/man8/nm-initrd-generator.8.gz
|
%{_mandir}/man8/nm-initrd-generator.8*
|
||||||
%{_mandir}/man8/NetworkManager.8.gz
|
%{_mandir}/man8/NetworkManager.8*
|
||||||
%{_mandir}/man8/NetworkManager-dispatcher.8.gz
|
%{_mandir}/man8/NetworkManager-dispatcher.8*
|
||||||
%{_mandir}/man8/NetworkManager-wait-online.service.8.gz
|
%{_mandir}/man8/NetworkManager-wait-online.service.8*
|
||||||
%dir %{_localstatedir}/lib/NetworkManager
|
%dir %{_localstatedir}/lib/NetworkManager
|
||||||
%dir %{_sysconfdir}/sysconfig/network-scripts
|
%dir %{_sysconfdir}/sysconfig/network-scripts
|
||||||
%{_datadir}/dbus-1/system-services/org.freedesktop.nm_dispatcher.service
|
%{_datadir}/dbus-1/system-services/org.freedesktop.nm_dispatcher.service
|
||||||
|
Loading…
Reference in New Issue
Block a user