Re: [Rpm-maint] [Patch 3/19] Enable PREREQ

2007-02-09 Thread Stanislav Brabec
James Olin wrote: On 2/9/07, Stanislav Brabec [EMAIL PROTECTED] wrote: Unfortunately though, I just realized I might be misled, because there is no way that I know to deal with autogenerated deps in this way. You are true, but at least partially it is possible. Yes, it is a overkill

Re: [Rpm-maint] [Patch 3/19] Enable PREREQ

2007-02-09 Thread Stanislav Brabec
Paul Nasrat wrote: On Fri, 2007-02-09 at 14:51 +0100, Stanislav Brabec wrote: And finally, why %preuntrans and %postuntrans don't exist at all? There is no such thing as an untransaction, we don't do different types of transaction, merely a transaction that contains different operations

Re: [Rpm-maint] Automatic BuildRoot by default?

2008-06-12 Thread Stanislav Brabec
$RPMDIR cat $RPMDIR/macros EOF %_sourcedir $PWD %_builddir $PWD/BUILD EOF cat $RPMDIR/rpmrc EOF $(grep macrofiles /usr/lib/rpm/rpmrc):$RPMDIR/macros EOF eval rpmbuild --rcfile /usr/lib/rpm/rpmrc:$RPMDIR/rpmrc $@ -- Best Regards / S pozdravem, Stanislav Brabec software developer

[Rpm-maint] discussion on problems of RPM in real life packaging

2008-06-12 Thread Stanislav Brabec
PROTECTED] -- Best Regards / S pozdravem, Stanislav Brabec software developer - SUSE LINUX, s. r. o. e-mail: [EMAIL PROTECTED] Lihovarská 1060/12 tel: +420 284 028 966, +49 911 740538747 190 00

Re: [Rpm-maint] Automatic BuildRoot by default?

2008-06-12 Thread Stanislav Brabec
Tom spot Callaway wrote: On Thu, 2008-06-12 at 17:53 +0200, Stanislav Brabec wrote: openSUSE use chroots inside Xen secured build hosts in Build Service. Yes, I didn't mean to imply that you were vulnerable while Fedora is not. Apologies if it came across like that. I only wanted to agree

Re: [Rpm-maint] discussion on problems of RPM in real life packaging

2008-06-16 Thread Stanislav Brabec
Pixel wrote: Stanislav Brabec [EMAIL PROTECTED] writes: Particular problems there may have different severity and different complexity. The worst one seems to be Problems of Scriptlets / Database rebuild. mandriva is currently experimenting something on this subject: http

Re: [Rpm-maint] discussion on problems of RPM in real life packaging

2008-06-16 Thread Stanislav Brabec
it could be possible to write it as well, but only deep inside the rpm (when rpm evaluates possible conflicts in forthcoming transaction). -- Best Regards / S pozdravem, Stanislav Brabec software developer - SUSE LINUX, s. r. o

Re: [Rpm-maint] discussion on problems of RPM in real life packaging

2008-06-17 Thread Stanislav Brabec
-- Best Regards / S pozdravem, Stanislav Brabec software developer - SUSE LINUX, s. r. o. e-mail: [EMAIL PROTECTED] Lihovarská 1060/12 tel: +420 284 028 966, +49 911 740538747 190 00 Praha 9

Re: [Rpm-maint] discussion on problems of RPM in real life packaging

2008-06-17 Thread Stanislav Brabec
Pixel wrote: Stanislav Brabec [EMAIL PROTECTED] writes: Using %preun is acceptable only for uninstallation, not for upgrade. But this is yet another problem mentioned in the document, not related to one-time-scriptlets. oops, right. mandriva never went that far :) http

Re: [Rpm-maint] spec file unification across distributions

2008-06-24 Thread Stanislav Brabec
Pixel wrote: Stanislav Brabec [EMAIL PROTECTED] writes: [[...]] Texinfo: openSUSE and Fedora do the same, but openSUSE defines macros % install_info and %install_info_delete. we have %_install_info %_remove_install_info Actually used scriptlets are fragile and in some

[Rpm-maint] [draft] spec file unification: autotools based projects

2008-07-17 Thread Stanislav Brabec
- -- Best Regards / S pozdravem, Stanislav Brabec software developer - SUSE LINUX, s. r. o. e-mail: [EMAIL PROTECTED] Lihovarská 1060/12 tel: +420 284 028 966, +49 911

Re: [Rpm-maint] [draft] spec file unification: autotools based projects

2008-07-18 Thread Stanislav Brabec
Hans de Goede wrote: Ralf Corsepius wrote: On Thu, 2008-07-17 at 17:09 +0200, Stanislav Brabec wrote: Hallo. %build Packagers are encouraged to call autoreconf whenever possible. It guarantees correct build of packages on platforms, that was not supported by autotools

Re: [Rpm-maint] [draft] spec file unification: autotools based projects

2008-07-18 Thread Stanislav Brabec
Mark Hatle wrote: Stanislav Brabec wrote: The standard %setup macro should unpack these packages in convenient way: %prep %setup -q Configuration and compilation %build Packagers are encouraged to call autoreconf whenever possible. It guarantees correct build

Re: [Rpm-maint] [draft] spec file unification: autotools based projects

2008-07-18 Thread Stanislav Brabec
of such issue, I would strongly advice to never patch any auto-generated files. -- Best Regards / S pozdravem, Stanislav Brabec software developer - SUSE LINUX, s. r. o. e-mail: [EMAIL PROTECTED] Lihovarská 1060/12

Re: [Rpm-maint] [draft] spec file unification: autotools based projects

2008-07-18 Thread Stanislav Brabec
itself has no support for explicit -I and -L redirection into sysroot. Yes, particular programs provide a solution, but as it is program specific, it cannot be used for general packaging rules. -- Best Regards / S pozdravem, Stanislav Brabec software developer

Re: [Rpm-maint] [draft] spec file unification: autotools based projects

2008-07-18 Thread Stanislav Brabec
=${samba_cv_SIZEOF_OFF_T=yes} samba_cv_SIZEOF_INO_T=${samba_cv_SIZEOF_INO_T=yes} samba_cv_HAVE_STRUCT_FLOCK64=${samba_cv_HAVE_STRUCT_FLOCK64=yes} --- -- Best Regards / S pozdravem, Stanislav Brabec software developer

Re: [Rpm-maint] [draft] spec file unification: autotools based projects

2008-07-18 Thread Stanislav Brabec
Mark Hatle wrote: Stanislav Brabec wrote: - And finally gcc itself has no support for explicit -I and -L redirection into sysroot. -L=... That is a built in option that allows redirect into the sysroot automatically. -L= is at least recognized by ld. Our toolchains enable -I

Re: [Rpm-maint] upgrade process

2009-03-19 Thread Stanislav Brabec
://www.rpm.org/wiki/Problems -- Best Regards / S pozdravem, Stanislav Brabec software developer - SUSE LINUX, s. r. o. e-mail: sbra...@suse.cz Lihovarská 1060/12 tel: +420 284 028 966, +49 911

Re: [Rpm-maint] upgrade process

2009-03-19 Thread Stanislav Brabec
do what you expect. Sounds like a job for update-alternatives. If you don't want that, use %verify(not md5 size mtime link) and don't use a scriptlet at all. Yes, update-alternatives is the cleanest solution in this case. -- Best Regards / S pozdravem, Stanislav Brabec software developer

Re: [Rpm-maint] upgrade process

2009-03-19 Thread Stanislav Brabec
Michael Schroeder wrote in Thu 03/19 2009 at 16:49 +0100: On Thu, Mar 19, 2009 at 04:32:27PM +0100, Stanislav Brabec wrote: Michael Schroeder wrote in Thu 03/19 2009 at 15:35 +0100: If it obsoletes another package it's an upgrade. And what if the action you need is say foo-extra-update

Re: [Rpm-maint] upgrade process

2009-03-20 Thread Stanislav Brabec
Michael Schroeder wrote in Fri 03/20 2009 at 12:21 +0100: On Thu, Mar 19, 2009 at 05:49:21PM +0100, Stanislav Brabec wrote: Package smartsuite was renamed to smartmontools, but the script /etc/init.d/smartd remains without change. Start on installation, restart (once) on update, stop

[Rpm-maint] idea for new keyword: ObsoleteBy

2009-09-03 Thread Stanislav Brabec
? -- Best Regards / S pozdravem, Stanislav Brabec software developer - SUSE LINUX, s. r. o. e-mail: sbra...@suse.cz Lihovarská 1060/12 tel: +420 284 028 966, +49 911 740538747 190 00 Praha 9

Re: [Rpm-maint] idea for new keyword: ObsoleteBy

2009-09-03 Thread Stanislav Brabec
:/Provides:/Supplements:/Recommends:/Conflicts:... to another package dependencies (if it exists). -- Best Regards / S pozdravem, Stanislav Brabec software developer - SUSE LINUX, s. r. o. e-mail: sbra

Re: [Rpm-maint] idea for new keyword: ObsoleteBy

2009-09-03 Thread Stanislav Brabec
. People that updated before the rename, don't have libfoo-mybranch installed any more. -- Best Regards / S pozdravem, Stanislav Brabec software developer - SUSE LINUX, s. r. o. e-mail: sbra...@suse.cz