[HELP] Changing source archive in srpm
konrad at tylerc.org
Wed Feb 18 16:41:18 UTC 2009
On Wednesday 18 February 2009 08:37:22 am Pierre-Yves wrote:
> Mathieu Bridon (bochecha) wrote:
> > Hi,
> > Because of a leagl issue, I have to remove a file from the upstream
> > archive in one of my RPMs 
> > How should I do that ?
> > Is it as simple as:
> > 1. extract the upstream archive
> > 2. remove the said file
> > 3. create again an archive with the same name and use it as Source0
> > Is there something I should take care of concerning timestamps or
> > other subtleties ?
> > Should I mention what I did to the upstream archive in my spec file ?
> You can mention it and remove the file directly in the spec in the %prep
> section :)
Nope, sometimes (I have run into this a few times) you actually need to remove
it from the source tarball itsself, which can be done as Mathieu said.
Mathieu: You should make a note of how you did it and the rationale for
removing the file(s) in the .spec.
Conrad Meyer <konrad at tylerc.org>
More information about the devel