Preparing smart 0.42

Christoph Thiel cthiel at suse.de
Sun Jun 18 08:23:42 PDT 2006


On Sat, 17 Jun 2006, Pascal Bleser wrote:

> > I guess you have been using Pascal's smart package for SUSE, which 
> > ships a lot of channel files. I'm not sure if those files are 
> > correctly marked as config in those packages, which would still have 
> > renamed them to .rpmsave files.
> 
> Yes, they're marked as %config, as is distro.py:
> 
> %config %{_prefix}/lib/smart/distro.py
> %dir %{_sysconfdir}/smart
> %dir %{_sysconfdir}/smart/channels
> %config %{_sysconfdir}/smart/channels/*.channel
> 
> Christoph, make sure that you've marked the directories with %dir
> %dir %{_sysconfdir}/smart
> %dir %{_sysconfdir}/smart/channels
> 
> and not like this:
> %{_sysconfdir}/smart
> 
> The 2nd form means that the smart package owns the directory and
> anything below it.

%{_sysconfdir}/smart has always been marked %dir in the SUSE smart 
package.

IIUC marking it %dir or just having %{_sysconfdir}/smart in the specfile 
doesn't make a difference, in this case (where we are packaging an empty 
dir).


Regards
	Christoph



More information about the Smart mailing list