23 Apr
2017
23 Apr
'17
05:38
On 2017-04-22 20:18, Axel Braun wrote:
Unarchive, make your changes in a copy of the source, create a diff and apply this as patch to your branched project. So the original source remains untouched.
and that part can be nicely done with a tool called 'quilt' when in the checkout of package foo, you typically do quilt setup foo.spec cd foo-VERSIONNUMBER quilt push -a quilt new NAME_OF_YOUR_NEW.patch quilt edit PATH/FILE_TO_EDIT quilt diff # optional quilt refresh cp patches/NAME_OF_YOUR_NEW.patch .. cd .. /usr/lib/build/spec_add_patch NAME_OF_YOUR_NEW.patch Ciao Bernhard M. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org