# Downgrade a package from a dep, which causes the dep'd gphotos
# to be also removed (is this a bug?)

local
	gphoto;1.0-2;i386;meta
		Requires
			libexif = 1.0-2
	libexif;1.0-2;i386;meta
remote
	gphoto;1.0-2;i386;meta
		Requires
			libexif = 1.0-2
	gphoto;1.0-1;i386;meta
		Requires
			libexif = 1.0-1
	libexif;1.0-1;i386;meta
	libexif;1.0-2;i386;meta

transaction
	downgrade
		libexif;1.0-1;i386;meta

result
	libexif;1.0-1;i386;meta

config
	archinfo=i386
