On 04/17/2011 12:25 PM, Michael Schwendt wrote:
On Sun, 17 Apr 2011 11:46:31 +0300, VS wrote:
>> $1>=1 for %postun would not be well-defined, btw.
>
> How so?
That $1 is <=1 in %postun, and hence checking for >=1 includes
a non-existing condition.
$1 can be > 1 in %postun when there are parallel installations involved,
for example when upgrading installed foo-1.0.i686 and foo-1.0.x86_64
packages to foo-1.1.i686 and foo-1.1.x86_64.