Accepting request 1001101 from home:AndreasStieger:branches:KDE:Frameworks5
- macros.kf5: convert obsolete egrep call to grep -E OBS-URL: https://build.opensuse.org/request/show/1001101 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kf5-filesystem?expand=0&rev=83
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 4 10:57:35 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- macros.kf5: convert obsolete egrep call to grep -E
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 7 09:53:25 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
|
Mon Mar 7 09:53:25 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package kf5-filesystem
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
@@ -163,7 +163,7 @@ rm -f $MO_NAME_NEW \
|
|||||||
# remove languages we do not yet support - but give out statistics \
|
# remove languages we do not yet support - but give out statistics \
|
||||||
if [ -d "%{buildroot}%{_kf5_localedir}" ] ; then \
|
if [ -d "%{buildroot}%{_kf5_localedir}" ] ; then \
|
||||||
find "%{buildroot}%{_kf5_localedir}" -maxdepth 1 -type d | sed 's:'"%{buildroot}"%{_kf5_localedir}/'::; /^$/d' | while read dir; do \
|
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 \
|
find %{buildroot}%{_kf5_localedir}/$dir -name *.mo | sed 's:'"%{buildroot}"'::' | while read file; do \
|
||||||
echo -n "removing translation $file: " \
|
echo -n "removing translation $file: " \
|
||||||
msgunfmt "%{buildroot}/$file" | msgfmt --statistics -o /dev/null - \
|
msgunfmt "%{buildroot}/$file" | msgfmt --statistics -o /dev/null - \
|
||||||
|
Reference in New Issue
Block a user