Yes. Check an example from Kadischi documentation
Replace /tmp folder by your own. WIth more practice you will get used to.
- After you generated the directory for your packages, create a file.repo inside /etc/yum.repos.d/ with your name of choice.
- Here is an example of file.repo
name=Fedora Core $releasever - $basearch
- Baseurl is the path of your directory you want to use.
- Set enabled=1 and gpgcheck=0 if you don't want to check the keys
Hope it helps.