Le mercredi 29 février 2012 à 10:18 +0300, Mihamina Rakotomandimby a écrit :
On 02/29/2012 04:11 AM, fakessh @ wrote:
What is the correct procedure to build an rpm with this type of package tar.xz
the standard package rebuilding, I guess. just have to change the decompression utility call
I possess many utilities xz. when I run rpmbuild -ba gnutls.spec i have this error
ks37777 ~]# rpmbuild -ba /usr/src/redhat/SPECS/gnutls.spec Exécution_de(%prep): /bin/sh -e /var/tmp/rpm-tmp.54352 + umask 022 + cd /usr/src/redhat/BUILD + LANG=C + export LANG + unset DISPLAY + cd /usr/src/redhat/BUILD + rm -rf gnutls-3.0.9 + tar -xf /usr/src/redhat/SOURCES/gnutls-3.0.9.tar.xz tar: This does not look like a tar archive tar: Skipping to next header tar: Archive contains obsolescent base-64 headers tar: Read 1184 bytes from /usr/src/redhat/SOURCES/gnutls-3.0.9.tar.xz tar: Error exit delayed from previous errors erreur: Mauvais status de sortie pour /var/tmp/rpm-tmp.54352 (%prep)
Erreur de construction de RPM: Mauvais status de sortie pour /var/tmp/rpm-tmp.54352 (%prep)
i 'd think standard rpm package do not support tar.xz tarball
any idees