#322 rpmbuild from spec file has problems

open
nobody
None
5
2012-11-28
2012-08-16
Anonymous
No

Problem is found in 2 different distributions and it is about the latest version (1.42.5).

I have tried to build the 1.42.5 packages in openSUSE 11.1 and CentOS 6.2.
In openSUSE I managed to build the packages, but it failed to generate the rpm with the following errors:
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libuuid.so.1()(64bit)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/e2fsprogs-root
error: Installed (but unpackaged) file(s) found:
/usr/include/quota/mkquota.h
/usr/lib64/libquota.a
/usr/lib64/pkgconfig/quota.pc
/usr/sbin/e4defrag
/usr/share/man/man8/e4defrag.8.gz

RPM build errors:
File not found by glob: /var/tmp/e2fsprogs-root/usr/share/info/libext2fs.info*
Installed (but unpackaged) file(s) found:
/usr/include/quota/mkquota.h
/usr/lib64/libquota.a
/usr/lib64/pkgconfig/quota.pc
/usr/sbin/e4defrag
/usr/share/man/man8/e4defrag.8.gz

*********************************

In CentOS, I cannot even build the package, since it reports that
warning: line 14: prereq is deprecated: Prereq: /sbin/ldconfig
warning: line 39: prereq is deprecated: Prereq: /sbin/install-info
error: File /root/rpmbuild/SOURCES/e2fsprogs-1.42.4.tar.gz: No such file or directory

Note the wrong version.

Discussion