[opensuse-packaging] package replace
Hi all I am preparing package "cronie v 1.4.4" in System:Base repo, this package should replace old "cron 4.4" package. Basically it's the same package. To obsolete old cron I used Provides: cron = 4.2 Obsoletes: cron <= 4.1 But problem in my case is that switching from cron to cronie (even if I use rpm -U) isn't update (but uninstal cron + install cronie), and so macros like : %fillup_and_insserv, %stop_on_removal or %restart_on_update doesn't do the job, all these macros check $FIRST_ARG (or $1) which depend on update/uninstal/install process Result of these issues is that after switching from cron to cronie : cron process isn't running and cron service is always turned on Had anyone solved similar problem ? what about using epoch ? -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hi Michal, Michal Seben schrieb:
Hi all I am preparing package "cronie v 1.4.4" in System:Base repo, this package should replace old "cron 4.4" package. Basically it's the same package. To obsolete old cron I used Provides: cron = 4.2 Obsoletes: cron <= 4.1
I would only try for 'cron 4.4' replacement Obsoletes: cron <= 4.4 Chris -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
you mean omit "1" digit ? ... hm this could cause later issues when e.g. cron becomes 2.4.4 version, also we would like to avoid versions like : 14.4 or 144 this could cause trouble in future anyway thanks for tip On Thu, Apr 15, 2010 at 8:16 PM, Christian <chris@computersalat.de> wrote:
Hi Michal,
Michal Seben schrieb:
Hi all I am preparing package "cronie v 1.4.4" in System:Base repo, this package should replace old "cron 4.4" package. Basically it's the same package. To obsolete old cron I used Provides: cron = 4.2 Obsoletes: cron <= 4.1
I would only try for 'cron 4.4' replacement Obsoletes: cron <= 4.4
Chris -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hi Michal, Michal Šebeň schrieb:
you mean omit "1" digit ? ... hm this could cause later issues when e.g. cron becomes 2.4.4 version,
Hmm, I did not review current cron version. I just answered to your "replace old 'cron 4.4' package"
also we would like to avoid versions like : 14.4 or 144 this could cause trouble in future anyway thanks for tip
np Chris
On Thu, Apr 15, 2010 at 8:16 PM, Christian <chris@computersalat.de> wrote:
Hi Michal,
Michal Seben schrieb:
Hi all I am preparing package "cronie v 1.4.4" in System:Base repo, this package should replace old "cron 4.4" package. Basically it's the same package. To obsolete old cron I used Provides: cron = 4.2 Obsoletes: cron <= 4.1
I would only try for 'cron 4.4' replacement Obsoletes: cron <= 4.4
Chris -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Friday 16 April 2010 11:09:30 Christian wrote:
Hi Michal,
Michal Šebeň schrieb:
you mean omit "1" digit ? ... hm this could cause later issues when e.g. cron becomes 2.4.4 version,
Hmm, I did not review current cron version. I just answered to your "replace old 'cron 4.4' package"
also we would like to avoid versions like : 14.4 or 144 this could cause trouble in future anyway thanks for tip
np Chris
On Thu, Apr 15, 2010 at 8:16 PM, Christian <chris@computersalat.de> wrote:
Hi Michal,
Michal Seben schrieb:
Hi all I am preparing package "cronie v 1.4.4" in System:Base repo, this package should replace old "cron 4.4" package. Basically it's the same argh .. yes ... package should replace old "cron 4.1" ...
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (3)
-
Christian
-
Michal Seben
-
Michal Šebeň