[opensuse-packaging] rpmlint warning PreReq depricated
Hi, A result of using the rpm-macro "%gconf_schemas_prereq" triggers now the warning/error: prereq is deprecated: PreReq: /usr/bin/gconftool-2 coreutils diffutils don't forget to fix also the macro :) have fun Toni -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 04/05/2010 03:45 PM, oc2pus@arcor.de wrote:
Hi,
A result of using the rpm-macro "%gconf_schemas_prereq" triggers now the warning/error: prereq is deprecated: PreReq: /usr/bin/gconftool-2 coreutils diffutils
don't forget to fix also the macro :)
have fun Toni
I copied this from a previous message on this list, subject - Re: [opensuse-packaging] Weird rpmlint warnings. "The correct form is Requires(pre): - even if it's not documented (but what is in rpm packaging world :-/) so the packaging documentation should be updated." Regards Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Am Montag, 5. April 2010 schrieb Dave Plater:
On 04/05/2010 03:45 PM, oc2pus@arcor.de wrote:
Hi,
A result of using the rpm-macro "%gconf_schemas_prereq" triggers now the warning/error: prereq is deprecated: PreReq: /usr/bin/gconftool-2 coreutils diffutils
don't forget to fix also the macro :)
have fun Toni
I copied this from a previous message on this list, subject - Re: [opensuse-packaging] Weird rpmlint warnings. "The correct form is Requires(pre): - even if it's not documented (but what is in rpm packaging world :-/) so the packaging documentation should be updated."
Yes, but in this case a packager can't fix it by substituting PreReq ==> Requires(pre), this error message is triggered by using the macro: %gconf_schemas_prereq ... and this macro is coded in /etc/rpm/macros.gconf2 ... %gconf_schemas_prereq PreReq: /usr/bin/gconftool-2 coreutils diffutils ...
Regards Dave P
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 05/04/10 10:03, oc2pus@arcor.de wrote:
Yes, but in this case a packager can't fix it by substituting PreReq ==> Requires(pre), this error message is triggered by using the macro: %gconf_schemas_prereq ... and this macro is coded in /etc/rpm/macros.gconf2 ... %gconf_schemas_prereq PreReq: /usr/bin/gconftool-2 coreutils diffutils
Open a bug report. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Le lundi 05 avril 2010, à 16:03 +0200, oc2pus@arcor.de a écrit :
Yes, but in this case a packager can't fix it by substituting PreReq ==> Requires(pre), this error message is triggered by using the macro: %gconf_schemas_prereq ... and this macro is coded in /etc/rpm/macros.gconf2 ... %gconf_schemas_prereq PreReq: /usr/bin/gconftool-2 coreutils diffutils ...
I'll fix gconf2. It's a bit annoying to have prereq in the name of the macro, though. I think I'll leave %gconf_schemas_prereq as is and add a new %gconf_schemas_requires macro. Any objection? Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 04/07/2010 10:54 AM, Vincent Untz wrote:
Le lundi 05 avril 2010, à 16:03 +0200, oc2pus@arcor.de a écrit :
Yes, but in this case a packager can't fix it by substituting PreReq ==> Requires(pre), this error message is triggered by using the macro: %gconf_schemas_prereq ... and this macro is coded in /etc/rpm/macros.gconf2 ... %gconf_schemas_prereq PreReq: /usr/bin/gconftool-2 coreutils diffutils ...
I'll fix gconf2. It's a bit annoying to have prereq in the name of the macro, though. I think I'll leave %gconf_schemas_prereq as is and add a new %gconf_schemas_requires macro. Any objection?
From gconf point of view not. But that means that every package using it has to be touched?
Wolfgang -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Wed, Apr 07, 2010 at 10:59:55AM +0200, Wolfgang Rosenauer wrote:
On 04/07/2010 10:54 AM, Vincent Untz wrote:
Le lundi 05 avril 2010, à 16:03 +0200, oc2pus@arcor.de a écrit :
Yes, but in this case a packager can't fix it by substituting PreReq ==> Requires(pre), this error message is triggered by using the macro: %gconf_schemas_prereq ... and this macro is coded in /etc/rpm/macros.gconf2 ... %gconf_schemas_prereq PreReq: /usr/bin/gconftool-2 coreutils diffutils ...
I'll fix gconf2. It's a bit annoying to have prereq in the name of the macro, though. I think I'll leave %gconf_schemas_prereq as is and add a new %gconf_schemas_requires macro. Any objection?
From gconf point of view not. But that means that every package using it has to be touched?
The Prereq rpmlint warning actually was too harsh and I think Dirk wanted to fix it? Ciao, Marcus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Le mercredi 07 avril 2010, à 10:59 +0200, Wolfgang Rosenauer a écrit :
On 04/07/2010 10:54 AM, Vincent Untz wrote:
Le lundi 05 avril 2010, à 16:03 +0200, oc2pus@arcor.de a écrit :
Yes, but in this case a packager can't fix it by substituting PreReq ==> Requires(pre), this error message is triggered by using the macro: %gconf_schemas_prereq ... and this macro is coded in /etc/rpm/macros.gconf2 ... %gconf_schemas_prereq PreReq: /usr/bin/gconftool-2 coreutils diffutils ...
I'll fix gconf2. It's a bit annoying to have prereq in the name of the macro, though. I think I'll leave %gconf_schemas_prereq as is and add a new %gconf_schemas_requires macro. Any objection?
From gconf point of view not. But that means that every package using it has to be touched?
Yes, in the long term. That's not something you'd be forced to do, though, since there's no reason to remove the old macro. Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Wed, Apr 07, 2010 at 11:14:24AM +0200, Vincent Untz wrote:
Le mercredi 07 avril 2010, à 10:59 +0200, Wolfgang Rosenauer a écrit :
On 04/07/2010 10:54 AM, Vincent Untz wrote:
Le lundi 05 avril 2010, à 16:03 +0200, oc2pus@arcor.de a écrit :
Yes, but in this case a packager can't fix it by substituting PreReq ==> Requires(pre), this error message is triggered by using the macro: %gconf_schemas_prereq ... and this macro is coded in /etc/rpm/macros.gconf2 ... %gconf_schemas_prereq PreReq: /usr/bin/gconftool-2 coreutils diffutils ...
I'll fix gconf2. It's a bit annoying to have prereq in the name of the macro, though. I think I'll leave %gconf_schemas_prereq as is and add a new %gconf_schemas_requires macro. Any objection?
From gconf point of view not. But that means that every package using it has to be touched?
Yes, in the long term. That's not something you'd be forced to do, though, since there's no reason to remove the old macro.
Vincent
Btw, I'll disable the 'prereq is obsolete' message in rpm for now. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (7)
-
Cristian Rodríguez
-
Dave Plater
-
Marcus Meissner
-
Michael Schroeder
-
oc2pus@arcor.de
-
Vincent Untz
-
Wolfgang Rosenauer