From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <47472B70.2090405@altlinux.ru> Date: Fri, 23 Nov 2007 22:35:12 +0300 From: Vladimir Zhukov User-Agent: Thunderbird 2.0.0.6 (X11/20070804) MIME-Version: 1.0 To: ALT Linux Team development discussions References: <20071123103624.64DCB1CB47D0@ssh.git.local.altlinux.org> <20071123104602.GD2692@solemn.turbinal> In-Reply-To: <20071123104602.GD2692@solemn.turbinal> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [devel] Obsoletes without version considered harmful X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2007 19:35:18 -0000 Archived-At: List-Archive: List-Post: Alexey Tourbin пишет: > On Fri, Nov 23, 2007 at 01:36:24PM +0300, Vladimir Zhukov wrote: > >> Changes statistics since `0.1-alt1-24-g3d639cb' follows: >> .gear-rules | 2 +- >> ...-desktop.spec => docs-install-desktop_lite.spec | 6 +++--- >> 2 files changed, 4 insertions(+), 4 deletions(-) >> >> Changelog since `0.1-alt1-24-g3d639cb' follows: >> commit 259d2e6da9c1c84b4ca21fc9faaa613f7a8f0ec3 >> Author: Vladimir Zhukov >> Date: Fri Nov 23 13:34:28 2007 +0300 >> >> package renamed: docs-install-desktop -> docs-install-desktop_lite >> - .gear-rules: s/install-desktop/install-desktop_lite >> - renamed: docs-install-desktop.spec -> docs-install-desktop_lite.spec >> - docs-install-desktop_lite.spec: >> + s/install-desktop/install-desktop_lite >> + added Provides and Obsoletes needed for package renaming >> > [...] > > >> -Provides: docs-install0-desktop = 4.0-alt1, docs-install2-desktop = 0.2-alt1 >> -Obsoletes: docs-install0-desktop, docs-install2-desktop >> +Provides: docs-install0-desktop = 4.0-alt1, docs-install2-desktop = 0.2-alt1, docs-install-desktop = 0.1-alt1 >> +Obsoletes: docs-install0-desktop, docs-install2-desktop, docs-install-desktop >> > > Господа, не пишите Obsoletes без версий. > Обычно в случае переименования пакетов лучше всего писать так: > Provides: foo = %version > Obsoletes: foo <= %version > > ------------------------------------------------------------------------ > > _______________________________________________ > Devel mailing list > Devel@lists.altlinux.org > https://lists.altlinux.org/mailman/listinfo/devel Спасибо, буду знать. Как оказалось, в данном случае ни Provides, ни Obsoletes были вообще не нужны.