dimanche 28 décembre 2014

Copy files in RPM spec files using micro %install


Vote count:

0




I have problem with RPM spec file. I need to copy huge number of files located under tar.gz file:



%install
mkdir -p ${buildroot}/opt/agent
install -m 0755 -d $RPM_BUILD_ROOT/opt/agent
install -m 0777 * $RPM_BUILD_ROOT/opt/agent


The question is how I have to configure this micro to copy all files under /opt/agent into the new RPM file?



asked 34 secs ago







Copy files in RPM spec files using micro %install

Aucun commentaire:

Enregistrer un commentaire