From 96d010e9f5a1606619436eaf0738bb95d1910b4e Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Wed, 4 Jul 2018 00:13:48 +0200 Subject: [PATCH] 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/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 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 -- 2.44.0