I have a spec file that is doing a binary rpm build. This spec file
works on centos 5 but fails on centos 6 for file not found.
Here is the files section:
%files
%defattr(-,root,root)
%defverify(not mtime group)
%config /etc/captureProxy.conf
/etc/init.d/captureProxy
/etc/logrotate.d/captureProxy
/usr/bin/captureProxy
%doc /usr/share/man/man5/captureProxy.conf.5
%doc /usr/share/man/man8/captureProxy.8
Here is the resulting error message:
error: File not found:
/vobs/linux/rpmbuild/captureProxy/usr/share/man/man5/captureProxy.conf.5
error: File not found:
/vobs/linux/rpmbuild/captureProxy/usr/share/man/man8/captureProxy.8
RPM build errors:
File not found:
/vobs/linux/rpmbuild/captureProxy/usr/share/man/man5/captureProxy.conf.5
File not found:
/vobs/linux/rpmbuild/captureProxy/usr/share/man/man8/captureProxy.8
The two doc files are getting compress to .gz files in centos 6 but not in
centos 5.
and I have tracked it down to the %install section because if I
do -bi instead of -bb and look at the files the base .5 and .8 files are
now .gz.
Can I fix this behavior?