- add remove-awk-dependency.patch to be able to drop awk dependency from containers OBS-URL: https://build.opensuse.org/request/show/1102895 OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=638
12 lines
764 B
Diff
12 lines
764 B
Diff
--- rpmpopt.in.orig 2022-04-07 13:13:19.072518377 +0200
|
|
+++ rpmpopt.in 2023-08-08 13:45:57.992531046 +0200
|
|
@@ -125,7 +125,7 @@
|
|
--POPTdesc=$"list filetrigger scriptlets from package(s)"
|
|
|
|
rpm alias --last --qf '%|INSTALLTIME?{%{INSTALLTIME}}:{000000000}| %{NVRA} %|INSTALLTIME?{%{INSTALLTIME:date}}:{(not installed)}|\n' \
|
|
- --pipe "LC_NUMERIC=C sort -r -n | sed 's,^[0-9]\+ ,,' | awk '{printf(\"%-45s %-s\n\", $1, substr($0,length($1)+2))}' " \
|
|
+ --pipe "LC_NUMERIC=C sort -r -n | sed -E 's,^[0-9]+ ([^[:blank:]]+) +(.+)$,printf "'"%-45s %s\n"'" \1 "'"\2"'",e'" \
|
|
--POPTdesc=$"list package(s) by install time, most recent first"
|
|
|
|
rpm alias --dupes --qf '%|SOURCERPM?{%{name}.%{arch}}:{%|ARCH?{%{name}}:{%{name}-%{version}}|}|\n' --pipe "sort | uniq -d" \
|