macros.forge: drop additional dot to match current Guidelines

This commit is contained in:
Fabio Valentini 2018-06-14 18:25:25 +02:00
parent 22833277e6
commit 30ef72bedf
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ if (distprefix == "") then
distprefix = string.sub(rpm.expand("%{?commit}"), 1, 7)
end
if (distprefix ~= "") then
local dist = ".%{?date}%{!?date:%([ -r %{_sourcedir}/%{archivename}.%{archiveext} ] && date +%Y%m%d -u -r %{_sourcedir}/%{archivename}.%{archiveext})}.%{scm}" .. string.gsub(distprefix, "-",".") .. rpm.expand("%{?dist}")
local dist = ".%{?date}%{!?date:%([ -r %{_sourcedir}/%{archivename}.%{archiveext} ] && date +%Y%m%d -u -r %{_sourcedir}/%{archivename}.%{archiveext})}%{scm}" .. string.gsub(distprefix, "-",".") .. rpm.expand("%{?dist}")
explicitset("dist", dist)
end
-- Final spec variable summary if the macro was called with -i