| |
@@ -12,9 +12,9 @@
|
| |
# Arguments passed to the macro without flags will be interpreted as inclusion
|
| |
# globs.
|
| |
%listfiles(i:x:) %{expand:
|
| |
- %if "%{?-i*}%{expand:?listfiles_include}%*" != ""
|
| |
+ %if %{lua: print(string.len(rpm.expand("%{?-i*}%{?listfiles_include}%*")))}
|
| |
listfiles_include=$(realpath -e --relative-base=. %{?-i*} %{?listfiles_include} %* | sort -u)
|
| |
- %if "%{?-x*}%{expand:?listfiles_exclude}" != ""
|
| |
+ %if %{lua: print(string.len(rpm.expand("%{?-x*}%{?listfiles_exclude}")))}
|
| |
while IFS= read -r finc ; do
|
| |
realpath -qe --relative-base=. %{?-x*} %{?listfiles_exclude} \\
|
| |
| sort -u | grep -q "${finc}" || echo "${finc}"
|
| |
– re-fix listfiles (previous fix was correct but not robust WRT multiline input variables)
– tweak wordwrap (as in PR61, because when I do multiple PRs the spec version bump collides)