Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rpm spec file #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add rpm spec file #7

wants to merge 1 commit into from

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