Preparing smart 0.42
    Pascal Bleser 
    pascal.bleser at skynet.be
       
    Sat Jun 17 06:02:45 PDT 2006
    
    
  
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andreas Hanke wrote:
> Hi,
> 
> Pascal Bleser schrieb:
>> The 2nd form means that the smart package owns the directory and
>> anything below it.
> 
> I'm not sure if this is what you meant, but if you meant that using
> 
> %{_sysconfdir}/smart
> 
> instead of
> 
> %dir %{_sysconfdir}/smart
> 
> caused the removal of the unchanged config files, this is *not* the
> case. They were removed because RPM always removes unchanged config
> files independently of the above syntax difference (which is not an
> actual difference IMHO).
Yes, obviously the .channel files under %{_sysconfdir}/smart/channels
must also be marked as %config
But if you add a file in there yourself, it won't be marked as %config
and hence, RPM will complain if you don't mark %dir %{_sysconfdir}/smart
and %dir %{_sysconfdir}/smart/channels
But then again, that directory is only and specifically meant for
shipping .channel files as part of packages.
If you add channels yourself, they're being stored in
/var/lib/smart/channels/, not in %{_sysconfdir}/smart/channels/
cheers
- --
  -o) Pascal Bleser     http://linux01.gwdg.de/~pbleser/
  /\\ <pascal.bleser at skynet.be>       <guru at unixtech.be>
 _\_v The more things change, the more they stay insane.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFEk/11r3NMWliFcXcRAqYJAJ90PEYGfOb/SrF9Ha/4igt4wZJeqACgomBT
rrIrqjqq7EuMqdoaIMFzT1Y=
=fXYt
-----END PGP SIGNATURE-----
    
    
More information about the Smart
mailing list