Fix regexp syntax

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2022-03-18 13:39:32 +01:00
parent 24e81e56a2
commit 62cd72228a
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ for file in files(buildroot):
o = o_rpm_macros
elif '/usr/lib/systemd/tests' in n:
o = o_tests
elif re.search(r'/libsystemd-shared-*.so$', n):
elif re.search(r'/libsystemd-shared-.*\.so$', n):
o = o_main
elif re.search(r'/libcryptsetup-token-systemd-.*\.so$', n):
o = o_udev