mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 05:40:11 +01:00
contrib/rpm: exclude device plugins for ADSL and Wi-Fi on s390
s390 does not enable several device plugins, but ADSL and Wi-Fi plugins are still build. They must be excluded in the spec file, otherwise rpmbuild fails. This partly reverts commit1f631cd08d. Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/NetworkManager-1.1.0-11242.9709d009d5.el7.s390x RPM build errors: error: Installed (but unpackaged) file(s) found: /usr/lib64/NetworkManager/libnm-device-plugin-adsl.so /usr/lib64/NetworkManager/libnm-device-plugin-wifi.so Installed (but unpackaged) file(s) found: /usr/lib64/NetworkManager/libnm-device-plugin-adsl.so /usr/lib64/NetworkManager/libnm-device-plugin-wifi.so Child returncode was: 1 (cherry picked from commit2fc37ce895)
This commit is contained in:
parent
5672093dcf
commit
b6ab9744cd
1 changed files with 4 additions and 0 deletions
|
|
@ -554,6 +554,8 @@ fi
|
|||
%files adsl
|
||||
%defattr(-,root,root,0755)
|
||||
%{_libdir}/%{name}/libnm-device-plugin-adsl.so
|
||||
%else
|
||||
%exclude %{_libdir}/%{name}/libnm-device-plugin-adsl.so
|
||||
%endif
|
||||
|
||||
%if 0%{?with_bluetooth}
|
||||
|
|
@ -572,6 +574,8 @@ fi
|
|||
%files wifi
|
||||
%defattr(-,root,root,0755)
|
||||
%{_libdir}/%{name}/libnm-device-plugin-wifi.so
|
||||
%else
|
||||
%exclude %{_libdir}/%{name}/libnm-device-plugin-wifi.so
|
||||
%endif
|
||||
|
||||
%if 0%{?with_wwan}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue