[opensuse-buildservice] Change a Linked package?
How do a make changes in a Linked package? I have made a link to a package in another project and that worked fine. Then I would like to add a patch and here I hit some problems. I uploaded the path with the webclient and clicked the box "Add as patch to SPEC file" but reading the build log I see nothing about it applying the patch. Am I missing something? Warm Regards, Claes Backstrom --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Sun, Dec 09, 2007 at 10:12:37 +0100, Claes Bäckström wrote:
How do a make changes in a Linked package?
I have made a link to a package in another project and that worked fine. Then I would like to add a patch and here I hit some problems. I uploaded the path with the webclient and clicked the box "Add as patch to SPEC file" but reading the build log I see nothing about it applying the patch. Am I missing something?
Warm Regards, Claes Backstrom
Have you looked at another package which does (successfully) change something? I can suggest the package exim-mysql in the server:mail project, where adding a patch definitely works. Peter -- "WARNING: This bug is visible to non-employees. Please be respectful!" SUSE LINUX Products GmbH Research & Development
On Dec 10, 2007 2:46 PM, Dr. Peter Poeml
On Sun, Dec 09, 2007 at 10:12:37 +0100, Claes Bäckström wrote:
How do a make changes in a Linked package?
I have made a link to a package in another project and that worked fine. Then I would like to add a patch and here I hit some problems. I uploaded the path with the webclient and clicked the box "Add as patch to SPEC file" but reading the build log I see nothing about it applying the patch. Am I missing something?
Warm Regards, Claes Backstrom
Have you looked at another package which does (successfully) change something?
I can suggest the package exim-mysql in the server:mail project, where adding a patch definitely works.
Peter
As there is a check box in the webclient I thought that would work but it didn't. So looked around and saw that I had to edit the _link file myself. I've tried that but it still don't work (or I'm doing it the wrong way). This is my _link file: <link project='home:MRichards' package='evolution-scalix'> <patches> <apply name="openSUSE-evo2.12.patch" /> <topadd>%build</topadd> </patches> </link> The patch file is in the package directory in my project. Not sure what to add to the <topadd></topadd> . Searched for it on the openSUSE wiki and found nothing. So I guessed. My patch patches the configure file will this work? Warm Regards, Claes Backstrom N�����r��y隊Z)z{.���Wlz��qﮞ˛���m�)z{.��+�Z+i�b�*'jW(�f�vǦj)h���Ǜ�)]���Ǿ��i�������
Claes Bäckström wrote:
As there is a check box in the webclient I thought that would work but it didn't. So looked around and saw that I had to edit the _link file myself. I've tried that but it still don't work (or I'm doing it the wrong way).
This is my _link file: <link project='home:MRichards' package='evolution-scalix'> <patches> <apply name="openSUSE-evo2.12.patch" /> <topadd>%build</topadd> </patches> </link>
<apply> applies the patch to the *package directory*, for instance you can patch the specfile this way (or even other patches ;-)). <topadd> adds it's contents to the top of the specfile. <add> adds the named patch to the spec preamble and to the %prep section. This is most probably that you're looking for. hth, Michal --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Dec 13, 2007 3:11 PM, Michal Marek
Claes Bäckström wrote:
As there is a check box in the webclient I thought that would work but it didn't. So looked around and saw that I had to edit the _link file myself. I've tried that but it still don't work (or I'm doing it the wrong way).
This is my _link file: <link project='home:MRichards' package='evolution-scalix'> <patches> <apply name="openSUSE-evo2.12.patch" /> <topadd>%build</topadd> </patches> </link>
<apply> applies the patch to the *package directory*, for instance you can patch the specfile this way (or even other patches ;-)).
<topadd> adds it's contents to the top of the specfile.
<add> adds the named patch to the spec preamble and to the %prep section. This is most probably that you're looking for.
hth, Michal
Thank you very much. Now it works. So just if someone else hit the same problem I post my working _link file: <link project='home:MRichards' package='evolution-scalix'> <patches> <add name="openSUSE-evo2.12.patch"/> </patches> </link> Warm Regards, Claes Backstrom N�����r��y隊Z)z{.���Wlz��qﮞ˛���m�)z{.��+�Z+i�b�*'jW(�f�vǦj)h���Ǜ�)]���Ǿ��i�������
participants (3)
-
Claes Bäckström
-
Dr. Peter Poeml
-
Michal Marek