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?