[packages/rpm-build-macros] update pattern for matching empty mo files in find-lang.sh with file 5.33; rel 2
atler
atler at pld-linux.org
Wed Jul 4 00:16:34 CEST 2018
commit 96d010e9f5a1606619436eaf0738bb95d1910b4e
Author: Jan Palus <atler at pld-linux.org>
Date: Wed Jul 4 00:13:48 2018 +0200
update pattern for matching empty mo files in find-lang.sh with file 5.33; rel 2
file 5.32:
libvirt.mo: GNU message catalog (little endian), revision 0.0, 1 messages
file 5.33:
libvirt.mo: GNU message catalog (little endian), revision 0.0, 1 message, Project-Id-Version: libvirt 4.3.0
find-lang.sh | 2 +-
rpm-build-macros.spec | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/rpm-build-macros.spec b/rpm-build-macros.spec
index 76b7d1f..239faa4 100644
--- a/rpm-build-macros.spec
+++ b/rpm-build-macros.spec
@@ -4,7 +4,7 @@ Summary: PLD Linux RPM build macros
Summary(pl.UTF-8): Makra do budowania pakietów RPM dla Linuksa PLD
Name: rpm-build-macros
Version: %{rpm_macros_rev}
-Release: 1
+Release: 2
License: GPL
Group: Development/Building
Source0: rpm.macros
diff --git a/find-lang.sh b/find-lang.sh
index c58441b..3e13e14 100755
--- a/find-lang.sh
+++ b/find-lang.sh
@@ -165,7 +165,7 @@ echo '%defattr(644,root,root,755)' > $MO_NAME
if [ ! -f __find.files ] || [ "$TOP_DIR" -nt __find.files ]; then
find $TOP_DIR -xtype f -name '*.mo' | xargs -r file -L | \
sed -e '
- /, 1 messages$/d
+ /, 1 message/d
s/:.*//
s:'"$TOP_DIR"'::' > __find.files
else
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-macros.git/commitdiff/96d010e9f5a1606619436eaf0738bb95d1910b4e
More information about the pld-cvs-commit
mailing list