<div dir="ltr"><div>To test hidden dependencies in current ansible implementation I've built a **virtual package called xsce-virtual.rpm** [1] that includes a `Provides` rule:<br></div><div><br></div><div>```<br></div>
<div><div>Provides: xs-config xs-tools</div></div><div>```<br></div><div><br></div><div>Installing it in the target machine, it is possible to install XSCE from source with ansible assuring that actual xs-config and xs-tools packages won't be installed.</div>
<div><br></div><div>```</div><div><div>$ sudo yum localinstall xsce-virtual-0.0-1479_g3ad13d3.noarch.rpm</div><div>[...]</div><div>Complete!<br></div></div><div><div>$ yum whatprovides xs-config xs-tools</div><div>xsce-virtual-0.0-1479_g3ad13d3.noarch : XSCE virtual package to isolate xs-config and xs-tool dependencies</div>
<div>Repo : @/xsce-virtual-0.0-1479_g3ad13d3.noarch</div><div>Matched from:</div><div>Provides : xs-config</div><div><br></div><div>xsce-virtual-0.0-1479_g3ad13d3.noarch : XSCE virtual package to isolate xs-config and xs-tool dependencies</div>
<div>Repo : @/xsce-virtual-0.0-1479_g3ad13d3.noarch</div><div>Matched from:</div><div>Provides : xs-tools</div></div><div>$ sudo yum install -y git ansible</div><div><div>$ git clone <a href="https://github.com/XSCE/xsce">https://github.com/XSCE/xsce</a><br>
</div><div>$ cd xsce/</div><div>$ sudo ./runansible</div></div><div>[...]</div><div><div>$ yum list installed|grep ^xs</div><div>xs-rsync.noarch 0.6.12.gabc8f49-1.fc17 @xs-extra </div><div>
xsce-virtual.noarch 0.0-1479_g3ad13d3 @/xsce-virtual-0.0-1479_g3ad13d3.noarch</div>
<div>$</div><div>```<br></div></div><div><br></div><div>----</div><div><br></div><div>Related with this, I cleaned dxs.spec from DXS branch and sent a pull request [2]:</div><div>- include xsce.yml<br></div><div>- substitute DXS for XSCE in paths and texts</div>
<div>- add `Provides: ` directive for xs-config and xs-tools.<br></div><div><br></div><div>To test, please install the rpm in the target machine and run ansible:<br></div><div><br></div><div>```</div><div>sudo yum localinstall xsce-server-0.0-1480_gb42a1de.noarch.rpm</div>
<div>sudo runansible</div><div>```</div><div><br></div><div>See <a href="https://sugardextrose.org/issues/4827">https://sugardextrose.org/issues/4827</a> for the rpm packages.<br></div><div><br></div><div>Of course, packages can be built using ``rpmbuild -bb xsce-server.spec``.<br>
</div><div><br></div><div><br></div><div><br></div><div>1: <a href="https://gist.github.com/migonzalvar/7238367">https://gist.github.com/migonzalvar/7238367</a></div><div><br></div><div>2: <a href="https://github.com/XSCE/xsce/pull/22">https://github.com/XSCE/xsce/pull/22<br clear="all">
<div><br></div>-- <br></a><div dir="ltr"><a href="https://github.com/XSCE/xsce/pull/22">Miguel González<br>Activity Central: </a><a href="http://www.activitycentral.com" target="_blank">http://www.activitycentral.com</a><br>
</div>
</div>
</div>