Add rpm spec file#7
Conversation
|
Hey, this is awesome, thanks a lot! I'm always excited about proper packaging! If you'd like to try to make it an official Fedora package sometime, I'd cheer you on, and I'm sure a lot of people would be super grateful! I wonder: Is it usual to have the spec file directly in the upstream project? Or should it rather live in the packaging infrastructure, where it can be changed more easily and directly? |
Sorry, I'm not a Fedora maintainer and I don't know how to propose package to official repositories. Real Fedora maintainer needed :)
It's more usual to have the spec file in distro's repository, but sometime I saw specs in upstream repository. May be its better to leave spec file in wiki/docs as reference for other packagers. |
Hello, I did simple spec file for rpm packaging. I can build rpm package with just
rpmbuild -ba .rpm/habitctl.spec. Also, I successfully built packages in Fedora's COPR. Other rpm-based distros can reuse that spec file.