It can't be used without %autorelease.
Use our own macro to add entries from SOURCE3: changelog to %changelog
%add_changelog %SOURCE3
Also install changelog to /usr/share/doc/policycoreutils/changelog
9 lines
155 B
Plaintext
9 lines
155 B
Plaintext
%add_changelog(changelog:) %{lua:
|
|
local f = io.open(arg[1], 'r')
|
|
if f then
|
|
local content = f:read('*all')
|
|
f:close()
|
|
print(content)
|
|
end
|
|
}
|