From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sun, 5 Oct 2008 19:20:00 +0400 From: Alexey Tourbin To: ALT Devel discussion list Message-ID: <20081005152000.GO6399@altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <20080924123726.GI839@altlinux.org> <20080924131612.GA22319@wo.int.altlinux.org> <20080924154354.GK839@altlinux.org> <20080924192841.GB19768@wo.int.altlinux.org> <20080925061914.GU839@altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CVXKxAdNG2kQIXaJ" Content-Disposition: inline In-Reply-To: <20080925061914.GU839@altlinux.org> Subject: Re: [devel] %post-script prerequisites X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 15:20:00 -0000 Archived-At: List-Archive: List-Post: --CVXKxAdNG2kQIXaJ Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 25, 2008 at 06:19:14AM +0000, Alexey Tourbin wrote: > On Wed, Sep 24, 2008 at 11:28:41PM +0400, Dmitry V. Levin wrote: > > > 1) =D0=C1=CB=C5=D4 foo =D3=CF=C4=C5=D2=D6=C9=D4 =D0=D2=CF=C7=D2=C1=CD= =CD=D5 /usr/bin/update-foo. > > > 2) /usr/bin/update-foo =DA=C1=D0=D5=D3=CB=C1=C5=D4=D3=D1 =D7 %post-= =D3=D2=C9=D0=D4=C5 =D0=C1=CB=C5=D4=C1 foo. > > > 3) =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=D8 Requires(post): /usr/bin/update-= foo =C5=D3=D4=C5=D3=D4=D7=C5=CE=CE=D9=CD > > > =CF=C2=D2=C1=DA=CF=CD =CF=D0=D4=C9=CD=C9=DA=C9=D2=D5=C5=D4=D3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D4, =CB=D2=CF=CD=C5 *=C7=C1=D2=C1=CE= =D4=C9=C9*, =DE=D4=CF =D5=D0=CF=D2=D1=C4=CF=DE=C5=CE=C9=C5 =D7=D3=C5=C7=C4= =C1 =C2=D5=C4=C5=D4 > =D0=D2=C1=D7=C9=CC=D8=CE=D9=CD. =EE=CF =CB=C1=CB =D2=C1=DA =CE=D5=D6=CE= =C1 =C9=CD=C5=CE=CE=CF =C7=C1=D2=C1=CE=D4=C9=D1, =C9=CE=C1=DE=C5 =CD=CF=D6= =CE=CF =C4=CF=C7=CF=D7=CF=D2=C9=D4=D8=D3=D1 > =C4=CF =D4=CF=C7=CF, =DE=D4=CF =CE=C1 =D0=D2=C1=CB=D4=C9=CB=C5 =DA=C1=D7= =C9=D3=C9=CD=CF=D3=D4=C9 Requires(pre) =C9 Requires(post) > =D7=CF=CF=C2=DD=C5 =CE=C5 =CE=D5=D6=CE=D9. 4.0.4-alt95.M41.4-14-g9b2294d =F0=C5=D2=C5=D3=C2=CF=D2=CB=C1 =D0=C1=CB=C5=D4=C1 postfix. $ grep -C1 find-scriptlet-requires: log2 + /usr/lib/rpm/find-scriptlet-requires /usr/src/tmp/postfix-buildroot/.post= :postfix find-scriptlet-requires: self-packaged files used in this scriptlet: /etc/c= hroot.d/postfix.all /etc/postfix/post-install /etc/rc.d/init.d/postfix find-scriptlet-requires: more self-packaged files: /etc/chroot.d/postfix.co= nf /etc/chroot.d/postfix.lib /usr/lib64/libpostfix-2.4.9.so /usr/lib64/libp= ostfix_dict-2.4.9.so /usr/sbin/postmap find-scriptlet-requires: additional dependencies for self-packaged files: /= etc/chroot.d /etc/chroot.d(Fatal) /etc/chroot.d(copy_resolv_conf) /etc/chro= ot.d(copy_resolv_lib) /etc/chroot.d/functions /etc/rc.d/init.d(SourceIfNotE= mpty) /etc/rc.d/init.d(action) /etc/rc.d/init.d(failure) /etc/rc.d/init.d(i= s_yes) /etc/rc.d/init.d(msg_usage) /etc/rc.d/init.d(status) /etc/rc.d/init.= d(success) /etc/rc.d/init.d/functions /lib64/ld-linux-x86-64.so.2 /usr/bin/= newaliases ed findutils glibc-utils grep libc.so.6(GLIBC_2.2.5)(64bit) libc= .so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4= )(64bit) libc.so.6(GLIBC_2.4)(64bit) libcdb.so.1()(64bit) libdb-4.7.so()(64= bit) libdl.so.2(GLIBC_2.2.5)(64bit) libnsl.so.1(GLIBC_2.2.5)(64bit) libreso= lv.so.2(GLIBC_2.2.5)(64bit) rtld(GNU_HASH) sed + exit 0 -- + /usr/lib/rpm/find-scriptlet-requires /usr/src/tmp/postfix-buildroot/.preu= n:postfix find-scriptlet-requires: self-packaged files used in this scriptlet: /etc/r= c.d/init.d/postfix find-scriptlet-requires: additional dependencies for self-packaged files: /= etc/rc.d/init.d(SourceIfNotEmpty) /etc/rc.d/init.d(action) /etc/rc.d/init.d= (failure) /etc/rc.d/init.d(is_yes) /etc/rc.d/init.d(msg_usage) /etc/rc.d/in= it.d(status) /etc/rc.d/init.d(success) /etc/rc.d/init.d/functions glibc-uti= ls + exit 0 $ $ sh -c '. buildlog.sh ; buildlog_deps $1' -c log1 >.1 $ sh -c '. buildlog.sh ; buildlog_deps $1' -c log2 >.2 $ diff -U1 .1 .2 --- .1 2008-10-05 19:12:20 +0400 +++ .2 2008-10-05 19:12:23 +0400 @@ -14,2 +14,3 @@ postfix-2.4.9-alt1 Provides smtpdaemon +postfix-2.4.9-alt1 Requires /bin/sh postfix-2.4.9-alt1 Requires /etc/chroot.d @@ -32,2 +33,3 @@ postfix-2.4.9-alt1 Requires /usr/bin/perl +postfix-2.4.9-alt1 Requires coreutils postfix-2.4.9-alt1 Requires diffutils @@ -56,4 +58,19 @@ postfix-2.4.9-alt1 Requires(post) /bin/sh +postfix-2.4.9-alt1 Requires(post) /etc/chroot.d +postfix-2.4.9-alt1 Requires(post) /etc/chroot.d(Fatal) +postfix-2.4.9-alt1 Requires(post) /etc/chroot.d(copy_resolv_conf) +postfix-2.4.9-alt1 Requires(post) /etc/chroot.d(copy_resolv_lib) +postfix-2.4.9-alt1 Requires(post) /etc/chroot.d/functions +postfix-2.4.9-alt1 Requires(post) /etc/rc.d/init.d(SourceIfNotEmpty) +postfix-2.4.9-alt1 Requires(post) /etc/rc.d/init.d(action) +postfix-2.4.9-alt1 Requires(post) /etc/rc.d/init.d(failure) +postfix-2.4.9-alt1 Requires(post) /etc/rc.d/init.d(is_yes) +postfix-2.4.9-alt1 Requires(post) /etc/rc.d/init.d(msg_usage) +postfix-2.4.9-alt1 Requires(post) /etc/rc.d/init.d(status) +postfix-2.4.9-alt1 Requires(post) /etc/rc.d/init.d(success) +postfix-2.4.9-alt1 Requires(post) /etc/rc.d/init.d/functions +postfix-2.4.9-alt1 Requires(post) /lib64/ld-linux-x86-64.so.2 postfix-2.4.9-alt1 Requires(post) /sbin/chkconfig postfix-2.4.9-alt1 Requires(post) /sbin/ldconfig +postfix-2.4.9-alt1 Requires(post) /usr/bin/newaliases postfix-2.4.9-alt1 Requires(post) /usr/sbin/control @@ -61,2 +78,18 @@ postfix-2.4.9-alt1 Requires(post) coreutils +postfix-2.4.9-alt1 Requires(post) ed +postfix-2.4.9-alt1 Requires(post) findutils +postfix-2.4.9-alt1 Requires(post) glibc-utils +postfix-2.4.9-alt1 Requires(post) grep +postfix-2.4.9-alt1 Requires(post) libc.so.6(GLIBC_2.2.5)(64bit) +postfix-2.4.9-alt1 Requires(post) libc.so.6(GLIBC_2.3)(64bit) +postfix-2.4.9-alt1 Requires(post) libc.so.6(GLIBC_2.3.2)(64bit) +postfix-2.4.9-alt1 Requires(post) libc.so.6(GLIBC_2.3.4)(64bit) +postfix-2.4.9-alt1 Requires(post) libc.so.6(GLIBC_2.4)(64bit) +postfix-2.4.9-alt1 Requires(post) libcdb.so.1()(64bit) +postfix-2.4.9-alt1 Requires(post) libdb-4.7.so()(64bit) +postfix-2.4.9-alt1 Requires(post) libdl.so.2(GLIBC_2.2.5)(64bit) +postfix-2.4.9-alt1 Requires(post) libnsl.so.1(GLIBC_2.2.5)(64bit) +postfix-2.4.9-alt1 Requires(post) libresolv.so.2(GLIBC_2.2.5)(64bit) +postfix-2.4.9-alt1 Requires(post) rtld(GNU_HASH) +postfix-2.4.9-alt1 Requires(post) sed postfix-2.4.9-alt1 Requires(postun) /sbin/postun_ldconfig @@ -69,4 +102,13 @@ postfix-2.4.9-alt1 Requires(preun) /bin/sh +postfix-2.4.9-alt1 Requires(preun) /etc/rc.d/init.d(SourceIfNotEmpty) +postfix-2.4.9-alt1 Requires(preun) /etc/rc.d/init.d(action) +postfix-2.4.9-alt1 Requires(preun) /etc/rc.d/init.d(failure) +postfix-2.4.9-alt1 Requires(preun) /etc/rc.d/init.d(is_yes) +postfix-2.4.9-alt1 Requires(preun) /etc/rc.d/init.d(msg_usage) +postfix-2.4.9-alt1 Requires(preun) /etc/rc.d/init.d(status) +postfix-2.4.9-alt1 Requires(preun) /etc/rc.d/init.d(success) +postfix-2.4.9-alt1 Requires(preun) /etc/rc.d/init.d/functions postfix-2.4.9-alt1 Requires(preun) /sbin/chkconfig postfix-2.4.9-alt1 Requires(preun) coreutils +postfix-2.4.9-alt1 Requires(preun) glibc-utils postfix-2.4.9-alt1 Requires(rpmlib) rpmlib(CompressedFileNames) <=3D 3.0.4= -1 =E2=C9=CE=C1=D2=CE=D9=C5 =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=C9 =D0=CF=D1=D7=CC= =D1=C0=D4=D3=D1 =C9=DA-=DA=C1 /usr/sbin/postmap, =CB=CF=D4=CF=D2=D9=CA =D3=CC=C9=CE=CB=CF=D7=C1=CE =D3 libpostfix =C9 libpostfix_dict, =D4=C1=CB = =DE=D4=CF =C4=C1=D6=C5 =D0=CF=D1=D7=CC=D1=C5=D4=D3=D1 =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=D8 Requires(post) =CE=C1 libdb-4.7.so. =F7= =D9=C7=CC=D1=C4=C9=D4 =DE=D5=C4=CE=CF, =CE=CF =D7=D2=CF=C4=C5 =D0=D2=C1=D7=C9=CC=D8=CE=CF. --CVXKxAdNG2kQIXaJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkjo2x8ACgkQfBKgtDjnu0a/uwCfWbz6/GNENNSvA6VKQNA/N5ZC 74cAn3j044itoi9ZWbbOK2dbYw9nq4IM =7Ze3 -----END PGP SIGNATURE----- --CVXKxAdNG2kQIXaJ--