Author Topic: package format  (Read 721 times)

Offline trustytrev

  • Sr. Member
  • ****
  • Posts: 472
package format
« on: May 07, 2010, 11:56:36 AM »
Hello,
      I wish to learn how to package . I have stumbled at this issue:
Source: Source is the name of the source package you are about to build into an rpm. The 
preferred source compression is tar.bz2 (the example one isn't but this was only a test rpm). As 
far as suitable rpm for inclusion in the pclos repo, it has to be tar.bz2 compression (you've been 
warned). 


The question is:Do I change the nameofthepackage.tar.gz  to  nameofthepackage.tar.bz2
If so how/where?
Many thanks.
trustytrev. :)
If there's a harder way to do something I'll probably find it.

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: package format
« Reply #1 on: May 07, 2010, 11:59:58 AM »
Hmm, maybe Tex can answer what he prefers (but...) I don't think it matters that much anymore? 

When updating packages I've noticed that the source used is mostly whatever format the original sources came in from the original URL in the sources section of the spec file.  That's what I've observed anyway.

Just leave it as is for now is my best advice.
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: package format
« Reply #2 on: May 07, 2010, 12:19:44 PM »
If you can get the source in tar.bz2, all well and good. If the source is only in tar.gz, use it. In other words, tar.bz2 is preferred, but tar.gz is acceptable.


Offline trustytrev

  • Sr. Member
  • ****
  • Posts: 472
Re: package format
« Reply #3 on: May 07, 2010, 01:55:53 PM »
Hello.
Thanks for the assistance.
trustytrev. :)
If there's a harder way to do something I'll probably find it.