[opensuse-buildservice] How to add custom patches on top of factory sources added through _link
Hi All, I am working on http://build.opensuse.org/package/show?package=evolution-data-server&project=home%3Apsankar%3AX11%3Axglppc and been wondering how to apply the two patches mentioned in the link to have a successful build. evolution-data-server-spec-dbg-cflags.patch has been added with "patch to SPEC file" option checked. (also, %debug_package seems to not generate proper debuginfo rpms - according to some sources - so, I am trying with CFLAGS) TIA, V. Varadhan --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Tue, Sep 04, 2007 at 12:46:26PM +0530, Veerapuram Varadhan wrote:
I am working on http://build.opensuse.org/package/show?package=evolution-data-server&project=home%3Apsankar%3AX11%3Axglppc and been wondering how to apply the two patches mentioned in the link to have a successful build.
evolution-data-server-spec-dbg-cflags.patch has been added with "patch to SPEC file" option checked. http://en.opensuse.org/Build_Service/Tips_and_Tricks#Patches_against_linked_... has all the details.
(also, %debug_package seems to not generate proper debuginfo rpms - according to some sources - so, I am trying with CFLAGS)
https://bugzilla.novell.com/show_bug.cgi?id=298801 Best, Christoph -- Christoph Thiel, Tech. Project Management, Research & Development SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
I am working on http://build.opensuse.org/package/show?package=evolution-data-server&project=home%3Apsankar%3AX11%3Axglppc and been wondering how to apply the two patches mentioned in the
2007/9/4, Veerapuram Varadhan <vvaradhan@novell.com>: link to have
a successful build.
On the page http://en.opensuse.org/Build_Service/Tips_and_Tricks#_link_and__aggregate is the template in this format: <link project='openSUSE:Factory' package='tse3'> <patches> <apply name="patch" /> </patches> </link> Your link file uses <add patch> I don't know how this is handled. But I assume you can't mix patch for spec file with patch which will patch the source code in tarball. Regards Ladislav.
evolution-data-server-spec-dbg-cflags.patch has been added with "patch to SPEC file" option checked.
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Tue, 2007-09-04 at 09:23 +0200, Ladislav Michnovič wrote:
I am working on http://build.opensuse.org/package/show?package=evolution-data-server&project=home%3Apsankar%3AX11%3Axglppc and been wondering how to apply the two patches mentioned in the
2007/9/4, Veerapuram Varadhan <vvaradhan@novell.com>: link to have
a successful build.
On the page http://en.opensuse.org/Build_Service/Tips_and_Tricks#_link_and__aggregate is the template in this format: <link project='openSUSE:Factory' package='tse3'> <patches> <apply name="patch" /> </patches> </link>
Your link file uses <add patch> I don't know how this is handled. But I assume you can't mix patch for spec file with patch which will patch the source code in tarball.
I have modified to use <apply name="path" /> for both the patches. Will it show in the build log as applying these patches? If patch for spec file and patch for source code in the tarball cannot be mixed, are there any options to enable debugging-symbols in the resulting binaries? Thanks, V. Varadhan --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
2007/9/4, Veerapuram Varadhan <vvaradhan@novell.com>: > for both the patches. Will it show in the build log as applying these > patches? Yes of course. > If patch for spec file and patch for source code in the tarball cannot > be mixed, are there any options to enable debugging-symbols in the > resulting binaries? Do it this way: upload a source code patch and there is no need to mention it in link file. Then create a patch for spec adjusting it to apply your patch: ... + PatchX: source_code.patch ... +%patchX Regards Ladislav. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Christoph Thiel
-
Ladislav Michnovič
-
Veerapuram Varadhan