Mailinglist Archive: opensuse-packaging (214 mails)
| < Previous | Next > |
Re: [opensuse-packaging] drop %suse_update_desktop_files macro
- From: Stephan Kulow <coolo@xxxxxxx>
- Date: Tue, 26 Oct 2010 10:08:14 +0200
- Message-id: <201010261008.15100.coolo@xxxxxxx>
Am Montag 25 Oktober 2010 schrieb Pavol Rusnak:
home project to avoid nested %if %suse_version > 1130 ?
Not so nice improvement IMO ;(
The brp-script usually has no access to rpm macros, so you will have to find
some other magic way to figure you build in openSUSE:Factory and not one
project building against it (you only want to extract translations in projects
that are harvested for po files).
care more for fedora compatibility (for whatever reason), but I care that it's
still possible to build packages for all openSUSE versions and ignore fedora.
Greetings, Stephan
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
And then we have nice little desktop-file-utils source links in everyone's
Utility desktop-file-install can do this as well (see
desktop-file-install --help-edit). If there is something missing Vincent
will add it ...
home project to avoid nested %if %suse_version > 1130 ?
Not so nice improvement IMO ;(
But that sounds like a plan:
1. move the translation magic to a brp script (possibly even one added by
prjconf, so we can remove the ugly hack that checks things based on
project name)
This is why I wrote my origin email. Me nor Vincent could do it, that's
why we asked for help.
The brp-script usually has no access to rpm macros, so you will have to find
some other magic way to figure you build in openSUSE:Factory and not one
project building against it (you only want to extract translations in projects
that are harvested for po files).
Because I consider it useful for backward compatibility. It may be that you3. make suse_update_desktop_file fail if it's a noop
4. leave the rest in and make them optional if building against openSUSE
I'm not sure if I understand. Why not removing macro completely?
care more for fedora compatibility (for whatever reason), but I care that it's
still possible to build packages for all openSUSE versions and ignore fedora.
Greetings, Stephan
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |