glamdring,
If you create a folder, name it repair-database-0.1, put your repair-database script and dbrepair.png in it, then create your tar.xz file from the folder, you will only one source to list; i.e. your SOURCE: will be repair-database-0.1.tar.xz.
With all the files in one tar file, you have one SOURCE: with all the components (%files) in one place.