rpm-5.4.10-22.i686 loops forever when installing ntpd-4.2.6p5-5.i686.rpm

Jan Rękorajski baggins at pld-linux.org
Sat Dec 1 00:04:47 CET 2012


On Fri, 30 Nov 2012, Jeffrey Johnson wrote:

> 
> On Nov 30, 2012, at 3:47 PM, Jan Rękorajski <baggins at pld-linux.org> wrote:
> 
> > BTW, did you look into the problem with triggers arguments?
> > 
> 
> Nope. I have yet to be convinced of what the root
> cause is: all you have been telling me is that
> 	RPM5 is buggy
> and I'm pretty sure the final solution has yet to be seen.

Build packages from attached spec. Install them both in one set.
According to trigger documentation (and it was always working) you should see:

triggerin:test-0.1-0.1
#: 2
1: 1
2: 1

But with RPM5 arg2 is 0. And I tell you again that RPM5 is buggy here.

-- 
Jan Rękorajski                                 | PLD/Linux
SysAdm                                         | http://www.pld-linux.org/
baggins<at>mimuw.edu.pl
baggins<at>pld-linux.org
-------------- next part --------------
Summary:	source trigger test
Name:		test
Version:	0.1
Release:	0.1
License:	GPL
Group:		Applications/System
BuildArch:	noarch
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
source trigger test

%package target
Summary:	target trigger test

%description target
target trigger test

%prep
%setup -qcT

%install
rm -rf $RPM_BUILD_ROOT

%triggerin -- test-target
echo triggerin:%{name}-%{version}-%{release}
echo "#: $#"
echo "1: $1"
echo "2: $2"

%triggerun -- test-target
echo triggerun:%{name}-%{version}-%{release}
echo "#: $#"
echo "1: $1"
echo "2: $2"

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)

%files target
%defattr(644,root,root,755)


More information about the pld-devel-en mailing list