centos 6 rpmbuild

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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?
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux