[packages/dnf5] - fix locale and dir packaging
baggins
baggins at pld-linux.org
Mon Feb 17 01:58:25 CET 2025
commit cc3c5c959f00a0ddd10a40d4231fbaee9687d846
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Feb 17 01:03:30 2025 +0100
- fix locale and dir packaging
dnf5.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/dnf5.spec b/dnf5.spec
index 7ebc02c..809128d 100644
--- a/dnf5.spec
+++ b/dnf5.spec
@@ -437,6 +437,8 @@ cp -p %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} $RPM_BUILD_ROOT%{_sysconfd
%{__sed} 's|@ARCH@|%{ftp_alt2_arch}|g' < %{SOURCE14} > $RPM_BUILD_ROOT%{_sysconfdir}/dnf/repos.d/pld-%{ftp_alt2_arch}.repo
%endif
+:%{__mv} $RPM_BUILD_ROOT%{_localedir}/zh{_Hans,}_CN
+
%find_lang dnf5
%find_lang dnf5-plugin-builddep
%find_lang dnf5-plugin-changelog
@@ -494,6 +496,7 @@ rm -rf $RPM_BUILD_ROOT
%dir %{_datadir}/dnf5/aliases.d
%{_datadir}/dnf5/aliases.d/compatibility.conf
%dir %{_datadir}/dnf5/dnf5-plugins
+%dir %{_prefix}/lib/sysimage
%dir %{_prefix}/lib/sysimage/libdnf5
%dir %{_prefix}/lib/sysimage/libdnf5/comps_groups
%dir %{_prefix}/lib/sysimage/libdnf5/offline
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dnf5.git/commitdiff/cc3c5c959f00a0ddd10a40d4231fbaee9687d846
More information about the pld-cvs-commit
mailing list