Adding spec file#5
Conversation
|
I’m not familiar with RedHat and its derivatives, but I assume the file you added is an instruction file for building a RPM for the library? I’ve not seen such a file in any gem’s sourcecode yet, so while I appreciate your contribution, I doubt I should include something into the library which I cannot maintain, especially if it’s a packaging file for some kind of package manager apart from RubyGems itself. The result will be that this file gets out of date over time. Therefore, I’d suggest to add this file to the Wiki, where it may still be useful even if it gets out of date, whereas in the sourcecode it would just get removed sooner or later. If you disagree, could you point me to some other gems which actually include such a spec file so I can see how other libraries work with this? Vale, |
|
@Quintus No problem - I think adding it to the wiki would be fine. Some projects with linux-minded users tend to include spec files, while others don't. The availability of a spec file makes it much easier to build for Red Hat style distributions (fedora, centos, RHEL), but as long as its available on the wiki that would do just fine. |
|
Here you go: https://github.com/Quintus/ruby-xz/wiki/RPM-spec-for-RedHat-Linuxes Vale, |
This pull request contains a spec file for rubygem-ruby-xz! This will be useful to anyone building on redhat-style linux distributions