<div dir="ltr"><div><div><div><div><div>Package: x2goserver<br>Version: <span style="font-family:monospace">4.1.0.0-0.0x2go1.0.git20141208.1203.heuler.el7.centos.x86_64</span><br><br></div>When installing the nightly build or a rebuilt package, I encounter the following error:<br><br><span style="font-family:monospace">/var/tmp/rpm-tmp.e1X31q: line 1: fg: no job control<br>error: %pre(x2goserver-4.1.0.0-0.0x2go1.0.git20141208.1203.heuler.el7.centos.x86_64) scriptlet failed, exit status 1<br>Error in PREIN scriptlet in rpm package x2goserver-4.1.0.0-0.0x2go1.0.git20141208.1203.heuler.el7.centos.x86_64</span><br><br></div>The package fails to installs. <br><br></div>When digging for the PREIN scriplet, I find the only %pre in the x2goserver is this line:<br>485: %systemd_pre x2goserver.service<br><br></div><div>These are the built-in macros related to systemd on a fresh CentOS 7 install:<br><br>[root@centos7 SPECS]# rpmbuild --showrc | grep systemd_<br>-14: systemd_post<br>-14: systemd_postun<br>-14: systemd_postun_with_restart<br>-14: systemd_preun<br>-14: systemd_requires<br><br></div><div>It seems the %systemd_pre macro is not available.<br></div><div><br></div>When commenting the line out, the package builds and installs successfully. <br><br></div><div>Thanks,<br><br><br>Jasmin Levesque<br>Senior system analyst<br></div><div>Vlan! Technologie<br></div><br><div><br></div></div>