Re: [Cooker] Re: [Contrib-Rpm] heroes-0.21-4mdk

2003-08-14 Thread Per Øyvind Karlsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 06 August 2003 22:39, Luca Berra wrote:
 yes, sorry, i was arguing that it is one more check of package sanity.
I agree, also it's more informational, oh well, we could discuss this for 
ages..
- -- 
Regards,
Per Øyvind Karlsen
Sintrax Solutions
http://www.sintrax.net - +47 41681061
- 
GPG Key: http://sintrax.net/~hawkeye/key.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/MWuav8F7V9JOSuURAk4cAJ90iI5KRccWdSd5XB2pABVZB0UA/gCfXmAK
ngk6r4Tn7pBbA0qfa7u/Wr0=
=EArW
-END PGP SIGNATURE-




Re: [Cooker] Re: [Contrib-Rpm] heroes-0.21-4mdk

2003-08-14 Thread Luca Berra
On Wed, Aug 06, 2003 at 09:15:37PM +0200, Pixel wrote:
Luca Berra [EMAIL PROTECTED] writes:

i believe that NOT using wildcards, helps a lot people rebuilding packages.
sometimes you don't realize that a package built on a system with xxx-devel is
different than a packager where xxx-devel is not present.
BuildRequires is a better solution

yes, sorry, i was arguing that it is one more check of package sanity.

L.

--
Luca Berra -- [EMAIL PROTECTED]
   Communication Media  Services S.r.l.
/\
\ / ASCII RIBBON CAMPAIGN
 XAGAINST HTML MAIL
/ \


Re: [Cooker] Re: [Contrib-Rpm] heroes-0.21-4mdk

2003-08-10 Thread Pixel
Abel Cheung [EMAIL PROTECTED] writes:

 On 2003-08-05(Tue) 14:04:01 +0200, Pixel wrote:
hum, as for me, i really prefer using many wildcards.
   
   However that also contributes to mis-packaging, e.g. including
   /usr/share/aclocal into other packages. $mandir is not problematic,
   but $datadir and $libdir can be.
  
  but i used %{_mandir}/*/*, %{_gamesbindir}/*, %{_menudir}/*, %{_infodir}/*
  which must not be problematic.
 
 Hope I'm not too picky: %_infodir/dir

nope. spec_helper removes it, so no pb.

 Generally the other macros above won't cause problems, what I am
 stressing is mainly about $datadir and $libdir, which has been causing
 trouble since pre-historic times.

i do agree for $datadir and $libdir.



Re: [Cooker] Re: [Contrib-Rpm] heroes-0.21-4mdk

2003-08-10 Thread Abel Cheung
On 2003-08-05(Tue) 14:04:01 +0200, Pixel wrote:
   hum, as for me, i really prefer using many wildcards.
  
  However that also contributes to mis-packaging, e.g. including
  /usr/share/aclocal into other packages. $mandir is not problematic,
  but $datadir and $libdir can be.
 
 but i used %{_mandir}/*/*, %{_gamesbindir}/*, %{_menudir}/*, %{_infodir}/*
 which must not be problematic.

Hope I'm not too picky: %_infodir/dir
Generally the other macros above won't cause problems, what I am
stressing is mainly about $datadir and $libdir, which has been causing
trouble since pre-historic times.


  Besides, with less overuse of wildcards, packager will be more alerted
  when something changed (file additions, directory moving etc), which is
  not a bad thing.
 
 this is somewhat new with the unpackaged file error.
 
 but when i upload a package, i always diff the file lists [1]. So as for
 me, i prefer using many wildcards.
 
 [1] using this script: http://people.mandrakesoft.com/~prigaux/Upload

Hey, you haven't told anybody you have done aditional checks :-)

Abel

-- 
Abel Cheung
Linux counter #256983   | http://counter.li.org
GPG Key: (0xC67186FF)   | http://deaddog.org/gpg.asc
Key fingerprint: 671C C7AE EFB5 110C D6D1  41EE 4152 E1F1 C671 86FF


pgp0.pgp
Description: PGP signature


Re: [Cooker] Re: [Contrib-Rpm] heroes-0.21-4mdk

2003-08-10 Thread Pixel
Luca Berra [EMAIL PROTECTED] writes:

 i believe that NOT using wildcards, helps a lot people rebuilding packages.
 sometimes you don't realize that a package built on a system with xxx-devel is
 different than a packager where xxx-devel is not present.

BuildRequires is a better solution




Re: [Cooker] Re: [Contrib-Rpm] heroes-0.21-4mdk

2003-08-06 Thread Pixel
Abel Cheung [EMAIL PROTECTED] writes:

 On 2003-08-04(Mon) 15:07:28 +0200, Pixel wrote:
  Per Øyvind Karlsen [EMAIL PROTECTED] writes:
   - don't use overuse wildcards in %files list
  [...]
  
  hum, as for me, i really prefer using many wildcards.
 
 However that also contributes to mis-packaging, e.g. including
 /usr/share/aclocal into other packages. $mandir is not problematic,
 but $datadir and $libdir can be.

but i used %{_mandir}/*/*, %{_gamesbindir}/*, %{_menudir}/*, %{_infodir}/*
which must not be problematic.

 Besides, with less overuse of wildcards, packager will be more alerted
 when something changed (file additions, directory moving etc), which is
 not a bad thing.

this is somewhat new with the unpackaged file error.

but when i upload a package, i always diff the file lists [1]. So as for
me, i prefer using many wildcards.

[1] using this script: http://people.mandrakesoft.com/~prigaux/Upload



Re: [Cooker] Re: [Contrib-Rpm] heroes-0.21-4mdk

2003-08-05 Thread Abel Cheung
On 2003-08-05(Tue) 15:04:16 +0200, Pixel wrote:
   but i used %{_mandir}/*/*, %{_gamesbindir}/*, %{_menudir}/*, %{_infodir}/*
   which must not be problematic.
  
  Hope I'm not too picky: %_infodir/dir
 
 nope. spec_helper removes it, so no pb.

I don't know about that bit. Thanks for pointing it out -- then I'd
agree %_infodir has no problem then.

Abel


-- 
Abel Cheung
Linux counter #256983   | http://counter.li.org
GPG Key: (0xC67186FF)   | http://deaddog.org/gpg.asc
Key fingerprint: 671C C7AE EFB5 110C D6D1  41EE 4152 E1F1 C671 86FF


pgp0.pgp
Description: PGP signature


Re: [Cooker] Re: [Contrib-Rpm] heroes-0.21-4mdk

2003-08-05 Thread Luca Berra
Pixel wrote:
Abel Cheung [EMAIL PROTECTED] writes:


On 2003-08-04(Mon) 15:07:28 +0200, Pixel wrote:

Per yvind Karlsen [EMAIL PROTECTED] writes:

- don't use overuse wildcards in %files list
[...]

hum, as for me, i really prefer using many wildcards.
However that also contributes to mis-packaging, e.g. including
/usr/share/aclocal into other packages. $mandir is not problematic,
but $datadir and $libdir can be.


but i used %{_mandir}/*/*, %{_gamesbindir}/*, %{_menudir}/*, %{_infodir}/*
which must not be problematic.
i believe that NOT using wildcards, helps a lot people rebuilding packages.
sometimes you don't realize that a package built on a system with 
xxx-devel is different than a packager where xxx-devel is not present.

rgrds,
L.



[Cooker] Re: [Contrib-Rpm] heroes-0.21-4mdk

2003-08-04 Thread Pixel
Per Øyvind Karlsen [EMAIL PROTECTED] writes:

 - don't use overuse wildcards in %files list

[...]

 -%{_mandir}/*/*
 -%{_gamesbindir}/*
 -%{_menudir}/*
 -%{_iconsdir}/*.png
 -%{_miconsdir}/*.png
 -%{_liconsdir}/*.png
 -%{_infodir}/*
 +%{_mandir}/man6/%{name}*
 +%{_gamesbindir}/%{name}*
 +%{_menudir}/%{name}
 +%{_iconsdir}/%{name}.png
 +%{_miconsdir}/%{name}.png
 +%{_liconsdir}/%{name}.png
 +%{_infodir}/%{name}.info*

hum, as for me, i really prefer using many wildcards.

for example it would have helped the /usr/share/man/man3pm to
/usr/share/man/man3 move if people were simply using %{_mandir}/*/*
which works for *every* package (of course when there is a split, it's
different)



Re: [Cooker] Re: [Contrib-Rpm] heroes-0.21-4mdk

2003-08-04 Thread Per Øyvind Karlsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 04 August 2003 15:07, Pixel wrote:
 Per Øyvind Karlsen [EMAIL PROTECTED] writes:
  - don't use overuse wildcards in %files list

 [...]

  -%{_mandir}/*/*
  -%{_gamesbindir}/*
  -%{_menudir}/*
  -%{_iconsdir}/*.png
  -%{_miconsdir}/*.png
  -%{_liconsdir}/*.png
  -%{_infodir}/*
  +%{_mandir}/man6/%{name}*
  +%{_gamesbindir}/%{name}*
  +%{_menudir}/%{name}
  +%{_iconsdir}/%{name}.png
  +%{_miconsdir}/%{name}.png
  +%{_liconsdir}/%{name}.png
  +%{_infodir}/%{name}.info*

 hum, as for me, i really prefer using many wildcards.

 for example it would have helped the /usr/share/man/man3pm to
 /usr/share/man/man3 move if people were simply using %{_mandir}/*/*
 which works for *every* package (of course when there is a split, it's
 different)
hmm, my experience is that it's less informational and often rpm ends up 
including directories, files etc. that shouldn't be included etc..
I've seen this happen *alot*
- -- 
Regards,
Per Øyvind Karlsen
Sintrax Solutions
http://www.sintrax.net - +47 41681061
- 
GPG Key: http://sintrax.net/~hawkeye/key.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/LrN2v8F7V9JOSuURAgSIAJ9X9pe0CR9uCHlteFNstWOuVDgOUACfcAns
HVsRWz31DwrrwWUctM21J9k=
=nr5d
-END PGP SIGNATURE-




Re: [Cooker] Re: [Contrib-Rpm] heroes-0.21-4mdk

2003-08-04 Thread Abel Cheung
On 2003-08-04(Mon) 15:07:28 +0200, Pixel wrote:
 Per yvind Karlsen [EMAIL PROTECTED] writes:
  - don't use overuse wildcards in %files list
 [...]
 
 hum, as for me, i really prefer using many wildcards.

However that also contributes to mis-packaging, e.g. including
/usr/share/aclocal into other packages. $mandir is not problematic,
but $datadir and $libdir can be.

Besides, with less overuse of wildcards, packager will be more alerted
when something changed (file additions, directory moving etc), which is
not a bad thing.

Abel

 
 for example it would have helped the /usr/share/man/man3pm to
 /usr/share/man/man3 move if people were simply using %{_mandir}/*/*
 which works for *every* package (of course when there is a split, it's
 different)
 

-- 
Abel Cheung
Linux counter #256983   | http://counter.li.org
GPG Key: (0xC67186FF)   | http://deaddog.org/gpg.asc
Key fingerprint: 671C C7AE EFB5 110C D6D1  41EE 4152 E1F1 C671 86FF


pgp0.pgp
Description: PGP signature