[opensuse-packaging] [Info] libsmbios changes

2007-11-05 Thread Danny Kukawka
Hi,

JFYI: I have submitted a new libsmbios version (v0.13.12) to Factory. With 
this version all binaries of the package (from libsmbios-bin, 
libsmbios-unsupported-bin and libsmbiosxml-bin) are moved from /usr/bin 
to /usr/sbin. 

Please adapt your packages if they depend on one of these packages. I prepared 
HAL already to work also with this version.

Danny
-- 
Danny Kukawka
[EMAIL PROTECTED]
Mobile Devices
SUSE LINUX a Novell Business
Maxfeldstr. 5, D-90409 Nuernberg, Germany
SUSE LINUX Products GmbH, Nuernberg; GF: Markus Rex, HRB 16746 (AG Nuernberg)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-packaging] ... testing for pre/postinstall scripts that break patchrpms

2007-11-05 Thread Michael Schroeder
On Thu, Nov 01, 2007 at 04:30:21AM -0600, Bart Whiteley wrote:
 Autobuild fails my package with the following error:
... testing for pre/postinstall scripts that break patchrpms 
   postinstall script of package.rpm failed
 
 Can someone tell me what this might mean?
 That doesn't mean that the %post fails during a normal installation, right?
 But instead, some inspection of the script determined that it's not
 compatible with patchrpms?
 
 Any pointers on tracking down the problem?

The patchrpm check runs the scripts with the '-e' shell option
to make them abort when a command fails. This is done to catch
syntax errors in the scriptlets.

Thus, commands that might fail need an extra  || true.
Also, constructs like
foo  bar
are bad (the scripts aborts when foo fails), use
if foo ; then bar ; fi
instead.

Cheers,
  Michael.

-- 
Michael Schroeder   [EMAIL PROTECTED]
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]