[Mageia-dev] Help needed: rpmlint checks not working

Colin Guthrie mageia at colin.guthr.ie
Sun Jan 13 14:26:51 CET 2013


'Twas brillig, and AL13N at 12/01/13 21:42 did gyre and gimble:
> Op zaterdag 12 januari 2013 22:24:35 schreef AL13N:
>> Op zaterdag 12 januari 2013 16:43:09 schreef Colin Guthrie:
>> [..]
>>
>>> There are currently ~70 ish packages to fix. I'll fix them up, but help
>>> is welcome :)
>>
>> [...]
>>
>>> Then there are the udev rules :)
>>
>> [...]
>>
>>> I will do all of these but as I've said already, people are more than
>>> welcome to fix some up :D
>>>
>>> Col
>>
>> i'll try and fix xen for both
> 
> it seems for xen, it doesn't seem so standard. fedora ghosted those 3, so i 
> did that too.

Ghosting achieves very little in this case. Does xen automatically
create those directories happily without the need for tmpfiles? If so
I'd personally not package them at all (as it just continues to show up
in the list generated by the urpmf command listed earlier as a false
positive).

While ghosting does have the advantage that rpm -qf will return sort of
valid results, it does make this transition period more difficult as it
would mean our "list of packages" would never get smaller.

I'm also not totally convinced that the rpm -qf use case is benefitial
enough to keep package %files+%ghosts synced with tmpfiles contents,
especially as the tmpfiles become part of the upstream package.

If it could somehow become automated (i.e. via a packaging script) then
I'd be happy to support that.

So, question. Does xen actually work? There appears to be no tmpfiles in
it and thus I don't see what creates those folders unless xen does it
internally (i.e. like gdm does).

Can you confirm it's OK without tmpfiles and I'll manually filter it out
of my urpmf command. If you also feel there is no real point in ghosting
here specifically and not in any of the other packages, please do remove
the ghosts as it'll save that manual filtering.

> no idea what to do with the udev parts, what is wrong with it?

Nothing crazy. They just shouldn't be in /etc they should be in
%_udevrulesdir when shipping in a package (and not be %config).

Cheers

Col


-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


More information about the Mageia-dev mailing list