ALT Linux Team development discussions
 help / color / mirror / Atom feed
* Re: [devel] [SCM] packages/yabeda: heads/master
  @ 2009-10-12 17:08 ` Alexey I. Froloff
  2009-10-12 17:55   ` Michael Shigorin
  0 siblings, 1 reply; 3+ messages in thread
From: Alexey I. Froloff @ 2009-10-12 17:08 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

On Mon, Oct 12, 2009 at 09:00:33PM +0400, Michael Shigorin wrote:
>     keep /var/lib/yabeda/state over upgrades

> -%attr(600,root,root) %_localstatedir/yabeda/state
> +%config(noreplace) %attr(600,root,root) %_localstatedir/yabeda/state
Это должен быть %ghost, а не %config.

-- 
Regards,
Sir Raorn.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] [SCM] packages/yabeda: heads/master
  2009-10-12 17:08 ` [devel] [SCM] packages/yabeda: heads/master Alexey I. Froloff
@ 2009-10-12 17:55   ` Michael Shigorin
  2009-10-12 20:02     ` Dmitry V. Levin
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Shigorin @ 2009-10-12 17:55 UTC (permalink / raw)
  To: ALT Devel discussion list

On Mon, Oct 12, 2009 at 09:08:44PM +0400, Alexey I. Froloff wrote:
> >     keep /var/lib/yabeda/state over upgrades
> > -%attr(600,root,root) %_localstatedir/yabeda/state
> > +%config(noreplace) %attr(600,root,root) %_localstatedir/yabeda/state
> Это должен быть %ghost, а не %config.

Резонно; а %ghost будет noreplace?

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] [SCM] packages/yabeda: heads/master
  2009-10-12 17:55   ` Michael Shigorin
@ 2009-10-12 20:02     ` Dmitry V. Levin
  0 siblings, 0 replies; 3+ messages in thread
From: Dmitry V. Levin @ 2009-10-12 20:02 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 602 bytes --]

On Mon, Oct 12, 2009 at 08:55:43PM +0300, Michael Shigorin wrote:
> On Mon, Oct 12, 2009 at 09:08:44PM +0400, Alexey I. Froloff wrote:
> > >     keep /var/lib/yabeda/state over upgrades
> > > -%attr(600,root,root) %_localstatedir/yabeda/state
> > > +%config(noreplace) %attr(600,root,root) %_localstatedir/yabeda/state
> > Это должен быть %ghost, а не %config.
> 
> Резонно; а %ghost будет noreplace?

You can apply both %ghost and %config(noreplace) attributes for the same
file, see e.g.
http://git.altlinux.org/people/ldv/packages/?p=glibc.git;a=blob;f=alt/glibc.spec#l748


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-10-12 20:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-12 17:08 ` [devel] [SCM] packages/yabeda: heads/master Alexey I. Froloff
2009-10-12 17:55   ` Michael Shigorin
2009-10-12 20:02     ` Dmitry V. Levin

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git