explicitset has not been renamed to set yet
This commit is contained in:
parent
891c721814
commit
fff16e5f5a
@ -231,7 +231,7 @@ Summary: %{source_summary}
|
|||||||
%description
|
%description
|
||||||
%wordwrap -v source_description
|
%wordwrap -v source_description
|
||||||
]]))
|
]]))
|
||||||
set("currentname", "%{source_name}", verbose)
|
explicitset("currentname", "%{source_name}", verbose)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- %new_package core
|
-- %new_package core
|
||||||
@ -257,7 +257,7 @@ local function new_package(source_name, pkg_name, name_suffix, first, verbose)
|
|||||||
end
|
end
|
||||||
if name_suffix then
|
if name_suffix then
|
||||||
print(rpm.expand("%package " .. name_suffix))
|
print(rpm.expand("%package " .. name_suffix))
|
||||||
set("currentname", "%{source_name}-" .. name_suffix, verbose)
|
explicitset("currentname", "%{source_name}-" .. name_suffix, verbose)
|
||||||
else
|
else
|
||||||
if not source_name then
|
if not source_name then
|
||||||
source_name = pkg_name
|
source_name = pkg_name
|
||||||
@ -271,7 +271,7 @@ local function new_package(source_name, pkg_name, name_suffix, first, verbose)
|
|||||||
end
|
end
|
||||||
print(rpm.expand("%package -n " .. pkg_name))
|
print(rpm.expand("%package -n " .. pkg_name))
|
||||||
end
|
end
|
||||||
set("currentname", pkg_name, verbose)
|
explicitset("currentname", pkg_name, verbose)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user