Building RPMs from tarballs

To those of you who build your own RPMs from the source tarballs ...

I'm seeing a consistant problem when I try to do this over various
packages (glib, gtk+, gnome-libs, etc.).  I am trying to do a simple

    rpm -ta foo-X.Y.Z.tar.gz

and it appears that the i18n files do not get installed in the
temporary staging area, leading to errors like --

    Processing files: gnome-libs
    File not found: /var/tmp/gnome-libs-root/usr/share/locale/*/*/*

I can get around this by hacking the /usr/share/locale line out of
the .spec file, rebuilding the tarball, and trying again, but this
is an ugly kludge, and I'd like to know a better way.

Is this a bug, or am I doing something wrong?  Are folks actually
using 'rpm -ta' to build their own RPMs, or a different sequence of
RPM commands?

Thanks in advance,


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