Mailinglist Archive: opensuse-packaging (135 mails)
| < Previous | Next > |
[opensuse-packaging] kernel-*.spec fixed strings are no fun
- From: Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx>
- Date: Thu, 9 Aug 2007 21:34:31 +0200 (CEST)
- Message-id: <Pine.LNX.4.64.0708092127370.13912@xxxxxxxxxxxxxxxxxxxxxxxxx>
Hi,
the kernel-*.spec files contain a lot of hardcoded strings, such as
2.6.22.1 for what's currently cooking. This causes a major pain when
trying to bump the version by oneself. All occurrences need to be
replaced by more-or-less blunt scripts (simple perl -pe 's///'), since
the .in files are not available. If these could please be added to the
kernel-source pack, that would greatly simplify work.
Moreover, I think that strings, where possible, should be replaced by
rpm tags. For example this obvious one:
Provides: kernel = 2.6.22.1-%source_rel
(and other places)
this can easily be replaced by %version-%source_rel. The other major
thing being
Name: kernel-default
(and other places of course)
which could be replaced - since the macro is already there - by
Name: kernel-%build_flavor
thanks,
Jan
--
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
the kernel-*.spec files contain a lot of hardcoded strings, such as
2.6.22.1 for what's currently cooking. This causes a major pain when
trying to bump the version by oneself. All occurrences need to be
replaced by more-or-less blunt scripts (simple perl -pe 's///'), since
the .in files are not available. If these could please be added to the
kernel-source pack, that would greatly simplify work.
Moreover, I think that strings, where possible, should be replaced by
rpm tags. For example this obvious one:
Provides: kernel = 2.6.22.1-%source_rel
(and other places)
this can easily be replaced by %version-%source_rel. The other major
thing being
Name: kernel-default
(and other places of course)
which could be replaced - since the macro is already there - by
Name: kernel-%build_flavor
thanks,
Jan
--
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |