On Fri, 30 Nov 2012, Jeffrey Johnson wrote: > > On Nov 30, 2012, at 3:47 PM, Jan Rękorajski <bagg...@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
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)
_______________________________________________ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en