Preparing smart 0.42

Pascal Bleser pascal.bleser at skynet.be
Sat Jun 17 03:11:09 PDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christoph Thiel wrote:
> On Fri, 16 Jun 2006, Mikus Grinbergs wrote:
> 
>> On Wed, 14 Jun 2006 16:43:56 +0200 (CEST) Christoph Thiel <cthiel at suse.de> wrote:
>>> I'v updated our current smart package to the latests svn trunk revision
>>> (r722) and called it smart-0.41.99. To get this package tested, I'll ask
>>> the openSUSE community to give it a try and report bugs!
>>>
>>> The package is available for SUSE Linux 9.3, 10.0, 10.1, SLES9 and the
>>> current development tree (Factory) at
>>> http://software.opensuse.org/download/home:/cthiel1/
>> Installed smart and smart-gui packages (0.41.99-11) on my SuSE 10.1
>> x86_64 system.  Smart --gui appears to work as well as official 0.41
>> versions.  However, ended up with my /etc/smart/channels directory
>> *empty* of the files put there by the earlier SuSE 'smart' packages.
>> (Don't know if it was the previous step of de-installing of the old
>> version, or the subsequent step of installing of the .99 version,
>> that did this erasing.  Suspect it was the install.)
> 
> 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.

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)

iD8DBQFEk9U9r3NMWliFcXcRAgahAJ44ec2qh3vRykXynmny30/NQGe0LQCfWfwk
7G0l5sRWy1E+XLNAOYQIKeI=
=mtRy
-----END PGP SIGNATURE-----



More information about the Smart mailing list