diff --git a/anda/games/joycond/joycond.spec b/anda/games/joycond/joycond.spec index 9791b7d5f6..55ee73d98c 100644 --- a/anda/games/joycond/joycond.spec +++ b/anda/games/joycond/joycond.spec @@ -23,10 +23,11 @@ joycond is a linux daemon which uses the evdev devices provided by hid-nintendo %install cd redhat-linux-build/ cp joycond .. -%make_install +%make_install -mkdir -p %buildroot%_unitdir +mkdir -p %buildroot%_unitdir %buildroot%_prefix mv %buildroot%_sysconfdir/systemd/system/joycond.service %buildroot%_unitdir/joycond.service +mv %buildroot/lib/udev/ %buildroot%_prefix/lib/ %post %systemd_post joycond.service