-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
How compile an rpm myself? #2
Comments
I think i already figured it out :) I just need to modify your spec file and then run an rpmbuild it seems (https://access.redhat.com/sites/default/files/attachments/rpm_building_howto.pdf) I am not familiar with building rpm's but i will try it this way :) |
Hi, I would highly recommend using mock to build this package for el6 and el7. You can install mock from EPEL on a CentOS 7 server. Clone this repo, get all modules sources with the right name, use mock to build both SRPMS and RPMS. You can always use the RPMS I provide with your own configurations. Updating the package wont overwrite your .conf files. Good luck! :) |
Quick note before I close this issue. If you build this RPM with mock, you need to add Aeris repository in your mock configuration because the package depends on libraries outside CentOS base such as libmaxminddb-devel for GeoIP2. File: /etc/mock/epel-7-x86_64.cfg
|
For reference to other people. I managed todo it with just these lines of code:
|
Update nginx to 1.16.1
Hi,
We would like to use your nginx-more as a base for adding additional modules as well. How would we be able todo that? Could you explain a bit how you build your packages? Maybe i can help in building a script that would run for example in a docker container and results in building an rpm. Glad to help out.
The text was updated successfully, but these errors were encountered: