Re: [HELP] Changing source archive in srpm

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

 



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 [1]
> >
> > 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 :)
>
>
> Regards,
>
> Pierre

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.

Regards,
-- 
Conrad Meyer <konrad@xxxxxxxxxx>

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux