Fwd: question about custom spec file and patches

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

 



---------- Forwarded message ----------
From: David Hláčik <david@xxxxxxxxx>
Date: Thu, Dec 4, 2008 at 11:07 AM
Subject: question about custom spec file and patches
To: Fedora <fedora-list@xxxxxxxxxx>
Cc: fedora-devel@xxxxxxxxxx


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 ?

Thanks in advance!

David

-- 
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]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux