Re: question about custom spec file and patches

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

 



On Thu, 4 Dec 2008 11:07:42 +0100, David wrote:

> Hello guys,
> 
> Let's just say i want to build my own package fontconfig based on original
> Fedora SRPM and add some custom patches.
> 
> After installing SRPM , i will have in SOURCES/ fontconfig-2.6.0.tar.gz ,
> which is original .
> 
> Now i will apply first patch :
> 
> Patch1: patches.diff , and in %prep section i will execute : %patch1 -p1 .
> 
> Done, now i have patched source of fontconfig-2.6.0 in
> BUILD/fontconfig-2.6.0/ directory.
> 
> This is easy and now it comes . Patch1 created additional directory
> BUILD/fontconfig-2.6.0/add_patches/ . In this directory there are 3 more
> patches ,patchX.diff, patchY.diff, patchZ.diff .
> 
> I need to use them in %prep section , after i will execute Patch1.
> 
> Please tell me how ?

Run "patch < add_patches/foo.patch" in the rest of the %prep
setion for each patch you want to apply.

-- 
Michael Schwendt <mschwendt@xxxxxxxxxxxxxxxxx>
Fedora release 10 (Cambridge) - Linux 2.6.27.5-117.fc10.i686
loadavg: 2.24 2.46 2.33

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux