Giter Club home page Giter Club logo

Comments (4)

butsjoh avatar butsjoh commented on May 27, 2024

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 :)

from nginx-more.

karljohns0n avatar karljohns0n commented on May 27, 2024

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! :)

from nginx-more.

karljohns0n avatar karljohns0n commented on May 27, 2024

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

[aeris]
name=Aeris Packages for Enterprise Linux 7 - stable - $basearch
baseurl=http://repo.aerisnetwork.com/stable/centos/7/$basearch
failovermethod=priority
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AERIS

from nginx-more.

butsjoh avatar butsjoh commented on May 27, 2024

For reference to other people. I managed todo it with just these lines of code:

# Downloads all sources with http url listed in the .spec file
spectool -g -R SPECS/nginx-tp.spec

# Download deps listed in the .spec file
yum-builddep -y SPECS/nginx-tp.spec

# Starts build
rpmbuild -ba SPECS/nginx-tp.spec

from nginx-more.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.