[devel] bad paths in rpm packages

Alexey Tourbin =?iso-8859-1?q?at_=CE=C1_altlinux=2Eru?=
Вт Мар 25 02:42:54 MSK 2008


On Tue, Mar 25, 2008 at 02:07:51AM +0300, Alexey Tourbin wrote:
> $ rpmpeek /ALT/Sisyphus/files/SRPMS/pear-core-1.6.2-alt6.src.rpm fgrep /.  pear-core.spec
> %pear_dir/.*
> $

Oh my gosh!
Here's a nice way to pacakge your %_tmppath!

$ cat test.spec
Name: test
Version: 1.0
Release: alt1
Summary: test
License: GPL
Group: Development/Other
%install
mkdir -p %buildroot
%description
%files
/.*
$ time rpm -bb test.spec
...
/tmp/.private/at/test-buildroot/../BUILD/DateTime-Locale-0.35/t/08dash-in-name.t syntax OK
Can't stat blib/lib: No such file or directory
 at /usr/lib/perl5/vendor_perl/File/Find/Rule.pm line 593
You said to run 0 tests at /tmp/.private/at/test-buildroot/../BUILD/DateTime-Locale-0.35/t/99-pod.t line 15.
BEGIN failed--compilation aborted at /tmp/.private/at/test-buildroot/../BUILD/DateTime-Locale-0.35/t/99-pod.t line 15.
# /tmp/.private/at/test-buildroot/../BUILD/DateTime-Locale-0.35/t/99-pod.t: deparse failed. isPerl=0.0386266094420601.
error: /bin/sh failed
error: Failed to find Requires

RPM build errors:
    /bin/sh failed
    Failed to find Requires
rpm -bb test.spec  97.86s user 15.26s system 54% cpu 3:26.50 total
$

Now go try '/.*/.*/.*'.
What a marvellous back system!!
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Тип     : application/pgp-signature
Размер  : 197 байтов
Описание: =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Url     : <http://lists.altlinux.org/pipermail/devel/attachments/20080325/7809daec/attachment-0002.bin>


Подробная информация о списке рассылки Devel