Re: [Mageia-dev] Wrong detection on rpmlint's unexpanded-macro

2011-07-11 Thread Michael scherer
On Sat, Jul 09, 2011 at 01:56:25PM -0300, John Balcaen wrote:
 2011/7/9 Ahmad Samir ahmadsamir3...@gmail.com:
 [...]
  Indeed; however are those file names correct? e.g.
  Internet%032Acces%032Facilities %032Acces, because that's the actual
  file name in the rpm (separate issue, I guess).
 They are provided like this in the tarball ( cf svn
 http://websvn.kde.org/branches/KDE/4.6/kdenetwork/kppp/DB/Provider/Netherlands/
 for example).

i disabled again the check.
the plan would be to sync the configuration of rpmlint-mageia-policy
with the current setup on the upload host.

Either using youri ( a trivial module ), or some svn script.
I will see later, until someone beat me at this.
-- 
Michael Scherer


Re: [Mageia-dev] Wrong detection on rpmlint's unexpanded-macro

2011-07-09 Thread Ahmad Samir
On 9 July 2011 05:55, Funda Wang fundaw...@gmail.com wrote:
 Hello,

 When submitting kdenetwork4, it was rejected because of unexpanded-macro:
 - unexpanded-macro
 /usr/share/apps/kppp/Provider/Netherlands/HetNet%032Frequent%032Surfen
 %032Frequent

 But I think unexpanded macro should be checked only in rpm's header
 (such as name, req, prov, obsoletes), not on the content of the
 package. Is it wanted?


That looks like an unintended side-effect; it barfed on '%exclude
%_kde_appsdir/kppp/Provider'; it shouldn't, IIUC.

-- 
Ahmad Samir


Re: [Mageia-dev] Wrong detection on rpmlint's unexpanded-macro

2011-07-09 Thread John Balcaen
2011/7/9 Ahmad Samir ahmadsamir3...@gmail.com:
 On 9 July 2011 05:55, Funda Wang fundaw...@gmail.com wrote:
 Hello,

 When submitting kdenetwork4, it was rejected because of unexpanded-macro:
 - unexpanded-macro
 /usr/share/apps/kppp/Provider/Netherlands/HetNet%032Frequent%032Surfen
 %032Frequent

 But I think unexpanded macro should be checked only in rpm's header
 (such as name, req, prov, obsoletes), not on the content of the
 package. Is it wanted?


 That looks like an unintended side-effect; it barfed on '%exclude
 %_kde_appsdir/kppp/Provider'; it shouldn't, IIUC.

Hum probably not, for kdenetwork4 4.6.5 i remove the %exclude from
kppp  it's still failing cf

http://pkgsubmit.mageia.org/uploads/rejected/1/core/updates_testing/20110709144636.mikala.valstar.29217.youri


Regards,


P.S: i put sysadmin in cc


-- 
Balcaen John
Jabber-id: mik...@jabber.littleboboy.net


Re: [Mageia-dev] Wrong detection on rpmlint's unexpanded-macro

2011-07-09 Thread John Balcaen
2011/7/9 Ahmad Samir ahmadsamir3...@gmail.com:
[...]
 Indeed; however are those file names correct? e.g.
 Internet%032Acces%032Facilities %032Acces, because that's the actual
 file name in the rpm (separate issue, I guess).
They are provided like this in the tarball ( cf svn
http://websvn.kde.org/branches/KDE/4.6/kdenetwork/kppp/DB/Provider/Netherlands/
for example).




-- 
Balcaen John
Jabber-id: mik...@jabber.littleboboy.net