packages: bird/bird.spec - use macro
Jakub Bogusz
qboosh at pld-linux.org
Fri Dec 23 14:00:54 CET 2011
On Fri, Dec 23, 2011 at 12:36:27PM +0100, glen wrote:
> --- packages/bird/bird.spec:1.65 Wed Dec 21 22:01:33 2011
> +++ packages/bird/bird.spec Fri Dec 23 12:36:22 2011
> @@ -191,7 +191,7 @@
> /sbin/chkconfig --del %{name}-ipv6
> fi
>
> -%triggerpostun ipv4 -- bird-ipv4 < 1.3.4-3
> +%triggerpostun ipv4 -- %{name}-ipv4 < 1.3.4-3
I don't think %{name} macro should be used here.
It's the name of _old package_, which new versions of spec will never
generate.
Consider upgrade from bird-ipv4-1.3.3 to birdng-ipv4-9.6.6 after spec
name change. Then trigger should still cover bird-ipv4 < 1.3.4-3,
not birdng-ipv4 < 1.3.4-3.
This is similar case to Obsoletes for old packages.
--
Jakub Bogusz http://qboosh.pl/
More information about the pld-devel-en
mailing list