Skip to content

Conversation

@knopki
Copy link

@knopki knopki commented Oct 20, 2018

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.

@blinry
Copy link
Owner

blinry commented Nov 26, 2018

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?

@knopki
Copy link
Author

knopki commented Nov 26, 2018

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!

Sorry, I'm not a Fedora maintainer and I don't know how to propose package to official repositories. Real Fedora maintainer needed :)

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?

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants