FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 02-29-2012, 12:11 AM
"fakessh @"
 
Default build rpm from tar.xz tarball

hello centos list
hello guys
hello master of "Fu"

how to create a rpm package for centos 5 with an archive tar.xz.
I possess a source rpm of gnutls
http://ns.fakessh.eu/rpms/gnutls-2.12.16-1.el5.src.rpm
and I would try to compile the latest version of gnutls

What is the correct procedure to build an rpm with this type of package
tar.xz

sincerely
--
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC2626742
gpg --keyserver pgp.mit.edu --recv-key C2626742

http://urlshort.eu fakessh @
http://gplus.to/sshfake
http://gplus.to/sshswilting
http://gplus.to/john.swilting
https://lists.fakessh.eu/mailman/
This list is moderated by me, but all applications will be accepted
provided they receive a note of presentation
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 02-29-2012, 06:18 AM
Mihamina Rakotomandimby
 
Default build rpm from tar.xz tarball

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

--
RMA.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 02-29-2012, 10:48 AM
Marc Deop
 
Default build rpm from tar.xz tarball

On Wednesday 29 February 2012 02:11:25 fakessh @ wrote:
> What is the correct procedure to build an rpm with this type of package
> tar.xz

AFAIK the %setup macro should be able to handle the decompression.

If not, just do it yourself within the %prep section

Regards

PS: there's an rpm-list ( rpm-list@lists.rpm.org )
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 02-29-2012, 06:52 PM
"fakessh @"
 
Default build rpm from tar.xz tarball

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
--
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC2626742
gpg --keyserver pgp.mit.edu --recv-key C2626742

http://urlshort.eu fakessh @
http://gplus.to/sshfake
http://gplus.to/sshswilting
http://gplus.to/john.swilting
https://lists.fakessh.eu/mailman/
This list is moderated by me, but all applications will be accepted
provided they receive a note of presentation
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 02-29-2012, 06:56 PM
Frank Cox
 
Default build rpm from tar.xz tarball

On Wed, 29 Feb 2012 20:52:09 +0100
fakessh @ wrote:

> any idees

My "idee" would be to de-archive your xz file and create a new tar.gz (or
tar.bz) file using the result, then use that to build the rpm.

unxz gnutls-3.0.9.tar.xz
bzip2 gnutls-3.0.9.tar

Now you have a gnutls-3.0.9.tar.bz2

--
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 01:56 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org