You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
365 B
11 lines
365 B
%__perlcompat_requires() %{lua:
|
|
local path = rpm.expand('%1')
|
|
local perl_ver = rpm.expand('%{perl_version}')
|
|
if path:match('.+%.so$') and perl_ver ~= "" then
|
|
print('perl(:MODULE_COMPAT_' .. perl_ver .. ')')
|
|
else
|
|
print('perl-libs')
|
|
end
|
|
}
|
|
%__perlcompat_path ^(%{perl_vendorarch}|%{perl_vendorlib}|%{perl_privlib}|%{perl_archlib})/.+
|