mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-10 22:10:17 +01:00
contrib/rpm: put translations in NetworkManager-libnm and NetworkManager-glib packages
One can install the libraries without NetworkManager. Thus, the translations should be there. Doing this increases the package size of the libraries significantly. For a user who only has libnm without NetworkManager installed, this is acceptable, because the whole point of the change is to ensure such a user also gets translations. For a user who requires libnm and libnm-glib packages, this unfortunately increases the additional package size as the translations are now present twice. What would be better is if NetworkManager-libnm would only contain translations for libnm/NetworkManager, and NetworkManager-glib only translations for libnm-util/libnm-glib.
This commit is contained in:
parent
084da69a30
commit
c9209093b4
1 changed files with 3 additions and 3 deletions
|
|
@ -510,7 +510,7 @@ fi
|
|||
%postun libnm -p /sbin/ldconfig
|
||||
|
||||
|
||||
%files -f %{name}.lang
|
||||
%files
|
||||
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.NetworkManager.conf
|
||||
%{_sysconfdir}/dbus-1/system.d/nm-dispatcher.conf
|
||||
%{_sysconfdir}/dbus-1/system.d/nm-ifcfg-rh.conf
|
||||
|
|
@ -589,7 +589,7 @@ fi
|
|||
%{_libdir}/%{name}/libnm-wwan.so
|
||||
%endif
|
||||
|
||||
%files glib
|
||||
%files glib -f %{name}.lang
|
||||
%{_libdir}/libnm-glib.so.*
|
||||
%{_libdir}/libnm-glib-vpn.so.*
|
||||
%{_libdir}/libnm-util.so.*
|
||||
|
|
@ -627,7 +627,7 @@ fi
|
|||
%{_datadir}/vala/vapi/libnm-*.deps
|
||||
%{_datadir}/vala/vapi/libnm-*.vapi
|
||||
|
||||
%files libnm
|
||||
%files libnm -f %{name}.lang
|
||||
%{_libdir}/libnm.so.*
|
||||
%{_libdir}/girepository-1.0/NM-1.0.typelib
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue