[EekBoek/f21] Do not create invalid locale paths

Richard Hughes rhughes at fedoraproject.org
Wed Jul 16 13:03:57 UTC 2014


commit cf5a63f3f862017e8a6c2b5670263ec8adc500d6
Author: Richard Hughes <richard at hughsie.com>
Date:   Wed Jul 16 13:48:37 2014 +0100

    Do not create invalid locale paths

 EekBoek.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/EekBoek.spec b/EekBoek.spec
index 22d79e8..8872df5 100644
--- a/EekBoek.spec
+++ b/EekBoek.spec
@@ -11,7 +11,7 @@ Summary: Bookkeeping software for small and medium-size businesses
 License: GPL+ or Artistic
 Group: Applications/Productivity
 Version: 2.02.02
-Release: 4%{?dist}
+Release: 5%{?dist}
 Source: http://www.eekboek.nl/dl/%{name}-%{version}.tar.gz
 URL: http://www.eekboek.nl
 BuildRoot: %{_tmppath}/rpm-buildroot-%{name}-%{version}-%{release}
@@ -150,7 +150,8 @@ for lang in blib/lib/EB/res/locale/*
 do
   l=`basename ${lang}`
   %{__mkdir_p} %{buildroot}%{_datadir}/locale/${l}/LC_MESSAGES
-  %{__mv} blib/lib/EB/res/locale/${l}/* %{buildroot}%{_datadir}/locale/${l}/LC_MESSAGES
+  %{__mv} blib/lib/EB/res/locale/${l}/LC_MESSAGES/* %{buildroot}%{_datadir}/locale/${l}/LC_MESSAGES/
+  %{__rmdir} blib/lib/EB/res/locale/${l}/LC_MESSAGES
   %{__rmdir} blib/lib/EB/res/locale/${l}
 done
 %{__rmdir} blib/lib/EB/res/locale
@@ -228,6 +229,9 @@ done
 %{ebshare}/lib/EB/DB/Postgres.pm
 
 %changelog
+* Wed Jul 16 2014 Richard Hughes <richard at hughsie.com> - 2.02.02-5
+- Do not create the invalid path /usr/share/locale/en/LC_MESSAGES/LC_MESSAGES
+
 * Fri Jun 06 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.02.02-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list