diff --git a/kf5-filesystem.changes b/kf5-filesystem.changes index e777626..25c9889 100644 --- a/kf5-filesystem.changes +++ b/kf5-filesystem.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Sep 4 10:57:35 UTC 2022 - Andreas Stieger + +- macros.kf5: convert obsolete egrep call to grep -E + ------------------------------------------------------------------- Mon Mar 7 09:53:25 UTC 2022 - Christophe Giboudeaux diff --git a/kf5-filesystem.spec b/kf5-filesystem.spec index bbf6569..ca675da 100644 --- a/kf5-filesystem.spec +++ b/kf5-filesystem.spec @@ -1,7 +1,7 @@ # # spec file for package kf5-filesystem # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/macros.kf5 b/macros.kf5 index bf318e2..5a88957 100644 --- a/macros.kf5 +++ b/macros.kf5 @@ -163,7 +163,7 @@ rm -f $MO_NAME_NEW \ # remove languages we do not yet support - but give out statistics \ if [ -d "%{buildroot}%{_kf5_localedir}" ] ; then \ find "%{buildroot}%{_kf5_localedir}" -maxdepth 1 -type d | sed 's:'"%{buildroot}"%{_kf5_localedir}/'::; /^$/d' | while read dir; do \ - if ! rpm -ql filesystem | egrep -q "/usr/share/locale/$dir"$; then \ + if ! rpm -ql filesystem | grep -E -q "/usr/share/locale/$dir"$; then \ find %{buildroot}%{_kf5_localedir}/$dir -name *.mo | sed 's:'"%{buildroot}"'::' | while read file; do \ echo -n "removing translation $file: " \ msgunfmt "%{buildroot}/$file" | msgfmt --statistics -o /dev/null - \