tar BR

2010-07-14 Thread Zsolt Udvari
Hi all!

Is this needed to add tar BR some packages?
E.g.
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/awesome/awesome.spec.diff?r1=1.91;r2=1.92
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/texlive/texlive.spec.diff?r1=1.324;r2=1.325
Etc.

On carme:

poldek:/all-avail uninstall -t tar
mark tar-1.23-5.i686
Processing dependencies...
tar-1.23-5.i686 marks geninitrd-1.20-5.noarch (req tar)
tar-1.23-5.i686 marks util-vserver-0.30.216-0.pre2864.2.i686 (req tar)
  util-vserver-0.30.216-0.pre2864.2.i686 marks
vserver-distro-pld-0.30.216-0.pre2864.2.i686 (req util-vserver =
0.30.216-0.pre2864.2)
tar-1.23-5.i686 marks rpm-build-4.5-43.i686 (req tar)
  rpm-build-4.5-43.i686 marks rpm-build-tools-4.4.39-1.noarch (req rpm-build)
There are 6 packages to remove (5 marked by dependencies):
R tar-1.23-5.i686
D geninitrd-1.20-5.noarch  rpm-build-4.5-43.i686
rpm-build-tools-4.4.39-1.noarch
util-vserver-0.30.216-0.pre2864.2.i686
D vserver-distro-pld-0.30.216-0.pre2864.2.i686
This operation will free 3.4MB of disk space.

So rpm-build{,-tools} requires tar, so IMHO the tar BR is unneeded.

Zsolt
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: tar BR

2010-07-14 Thread Paweł Zuzelski
On Wed, 14 Jul 2010, Zsolt Udvari wrote:
 So rpm-build{,-tools} requires tar, so IMHO the tar BR is unneeded.

You can skip BR if it is required by rpm-build. But if it is
required only by rpm-build-tools you still need BR.

poldek:/all-avail desc -r rpm-build | grep tar --color
warn: rpm-build: ambiguous name
Requires:   /bin/bash, /bin/id, /bin/sh, /bin/sh, awk, bzip2, chrpath = 
0.10-4, config(rpm-build) = 4.5-43, cpio, diffutils, elfutils, file = 4.17, 
fileutils, findutils, gcc = 5:3.4, glibc-devel, grep, gzip, libc.so.6, 
libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.2), 
libc.so.6(GLIBC_2.3), libpopt.so.0, libpopt.so.0(LIBPOPT_0), libpthread.so.0, 
libpthread.so.0(GLIBC_2.0), librpm-4.5.so, librpm-4.5.so(LIBRPM_0), 
librpmbuild-4.5.so, librpmbuild-4.5.so(LIBRPMBUILD_0), librpmio-4.5.so, 
librpmio-4.5.so(LIBRPMIO_0), make, patch, rpm-build-macros = 1.514, rpm-utils 
= 4.5-43, rtld(GNU_HASH), sed, sh-utils, tar, textutils, xz

So you don't have to add BR: tar.

-- 
Regards,
Paweł
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: tar BR

2010-07-14 Thread Elan Ruusamäe
On Wednesday 14 July 2010 12:36:34 Paweł Zuzelski wrote:
 On Wed, 14 Jul 2010, Zsolt Udvari wrote:
  So rpm-build{,-tools} requires tar, so IMHO the tar BR is unneeded.

 You can skip BR if it is required by rpm-build. But if it is
 required only by rpm-build-tools you still need BR.
...
 So you don't have to add BR: tar.

one is BR: tar, other is VERSIONED BR: tar

1.22 means source is tar.xz [1]

[1] 
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/PLD-doc/BuildRequires.txt.diff?r1=1.140;r2=1.141;f=h

-- 
glen
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: tar BR

2010-07-14 Thread Przemyslaw Iskra
On Wed, Jul 14, 2010 at 02:08:19PM +0300, Elan Ruusamäe wrote:
 On Wednesday 14 July 2010 12:36:34 Paweł Zuzelski wrote:
  On Wed, 14 Jul 2010, Zsolt Udvari wrote:
   So rpm-build{,-tools} requires tar, so IMHO the tar BR is unneeded.
 
 one is BR: tar, other is VERSIONED BR: tar

^ - that's the reason

 1.22 means source is tar.xz [1]

1.22 is able to diferenciate between lzma and xz compressed sources and
selects the right decompressor as needed.

 [1] 
 http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/PLD-doc/BuildRequires.txt.diff?r1=1.140;r2=1.141;f=h


-- 
   Sparky{PI] -- Przemyslaw _  ___  _  _  . LANG...Pl,Ca,Es,En
/) ___  ___  _ _ || Iskra  |  | _ \| |  | : WWW...ppcrcd.pld-linux.org
\\| -_)'___| ||^'||//\\//|  _/| |  | : WWW2..rsget.pl
(/||   (_-_|_||  ||\\ ||   |_ |_|  |_| _| : mail..spa...@pld-linux.org
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: tar BR

2010-07-14 Thread Zsolt Udvari
 one is BR: tar, other is VERSIONED BR: tar

 ^ - that's the reason
Oh, ok, understand :)
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en