Mailinglist Archive: opensuse-packaging (174 mails)

< Previous Next >
[opensuse-packaging] /var/adm/update-scripts mechanism changed?
Hi, guys,

Currently I'm (re-)working on steam package in games:tools repository,
which is a wrapper, using /var/adm/update-scripts mechanism to fill
contents downloaded online into directories pre-created in %install
section of specfile.

And I found something interesting:

In 13.1, the scripts is executed _before_ %install section.

Which means, if you don't create the directories again in your script,
it will fail. AKA, the `touch` way has gone.

Verify here:

Install the package in your 13.1, if you see "failed
/usr/share/doc/packages/steam/steam_* (no such file or directory)",

It indicates it's executed _before_ %install section, after a while
(unpacking steam_1.0.0.44.tar.gz and copy), you'll see your %install
section is processed. And if you `rpm -qf /usr/bin/steam`, it doesn't
belong to any package.

Any one tell something about the change?

To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups