How to power a dispenser without powering a hopper below?

Solution 1:

Power the dispenser indirectly with a block so that it can't power the hopper. enter image description here