[meego-packaging] Rép. : rejections FAQ - alternative patch method

Frederic Crozat fcrozat at novell.com
Wed Aug 4 02:47:32 PDT 2010


>>> Le 8/4/2010 à  11:08 AM, <fathi.boudra at nokia.com> a écrit dans le message
<3FED8903D8DCD64D98055D79A2433FD725A47C37C5 at NOK-EUMSG-03.mgdnok.nokia.com> :
> Proposal: alternative patch method - quilt 
>  
> RPM has the traditional built-in patch method to apply patches. 
> Quilt has several advantages and it could be nice to allow his 
> usage as an alternative patch method. 
>  
> To use quilt in a package: 
> - add quilt BuildRequires 
> - add the following line in %setup tag 
> QUILT_PATCHES="%{_sourcedir}" quilt --quiltrc /dev/null push -a 
>  
> I'll be happy to see MeeGo rpm with quilt support: 
> http://www.rpm.org/ticket/54 
>  
> It will be a nice improvement like the tilde support in MeeGo. 
>  
> Note1: I didn't tried yet quilt setup <pkg name>.spec 
> Note2: this isn't a replacement of the traditional built-in patch method. 
> Note3: it could be added to MeeGo rpm if people are interested 

When I was working at Mandriva, we had a nice git integration inside RPM which might be worth looking at. I haven't yet
tried to use it on openSUSE or MeeGo, but I plan to try it:

http://wiki.mandriva.com/en/Rpmbuild_and_git#The_git_Way and
http://wiki.mandriva.com/en/Rpmbuild_and_git#Macro_.25apply_patches

(I'm not talking about the section "Packaging directly from git" which is another method used by one Mandriva
contributor).



-- 
Frederic Crozat
Novell



More information about the MeeGo-packaging mailing list