dist/redhat: fix rpmbuild error on Fedora 31
Same as scylladb/scylla-ami#53, it seems like rpm macro %systemd_postun requires one argument starting from Fedora 31, otherwise it causes the error. The solution is passing systemd unit name just like %systemd_post and %systemd_preun. see: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/TU3T2ZYY67SMAJFR2TD4HY6SCPPDVS5V/ Fixes #87 Signed-off-by: Takuya ASADA <syuu@scylladb.com> Message-Id: <20191205120514.9382-1-syuu@scylladb.com>
This commit is contained in:
parent
d8c47603d9
commit
31e6bcf9be
2
dist/redhat/scylla-jmx.spec.mustache
vendored
2
dist/redhat/scylla-jmx.spec.mustache
vendored
@ -46,7 +46,7 @@ fi
|
||||
%systemd_preun scylla-jmx.service
|
||||
|
||||
%postun
|
||||
%systemd_postun
|
||||
%systemd_postun scylla-jmx.service
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
Loading…
x
Reference in New Issue
Block a user