# .spec file for 1.4.2 RPM

**URL:** <https://www.ruby-forum.com/t/spec-file-for-1-4-2-rpm/235953>\
**Category:** NGINX\
**Created:** [July 25, 2013, 9:10pm UTC](https://www.ruby-forum.com/t/spec-file-for-1-4-2-rpm/235953 "2013-07-25T21:10:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [July 25, 2013, 9:10pm UTC](https://www.ruby-forum.com/t/spec-file-for-1-4-2-rpm/235953/1 "2013-07-25T21:10:08Z")

</div>

Hi,

can anyone point me to the RPM .spec file for the binary RHEL 6 RPM?

I need to create a binary RPM in a certain context and look for a quick  
starting point.

Jan

---

<div class="post-metadata">

**Author:** ![jandot](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/439d5e/32.png) [@jandot](https://www.ruby-forum.com/u/jandot)\
**Post date:** [July 25, 2013, 10:10pm UTC](https://www.ruby-forum.com/t/spec-file-for-1-4-2-rpm/235953/2 "2013-07-25T22:10:52Z")

</div>

On 25.07.2013, at 21:42, Sergey B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> On 25 Jul2013, at 23:09 , Jan A. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > Hi,
> > 
> > can anyone point me to the RPM .spec file for the binary RHEL 6 RPM?
> > 
> > I need to create a binary RPM in a certain context and look for a quick  
> > starting point.
> 
> Take it from srpm:  
> [http://nginx.org/packages/rhel/6/SRPMS/nginx-1.4.2-1.el6.ngx.src.rpm](http://nginx.org/packages/rhel/6/SRPMS/nginx-1.4.2-1.el6.ngx.src.rpm)

Ah, ok. Sorry for being n00b maybe … so I take that .spec and delete  
all the nginx building stuff?

Wouldn’t it be simpler to just take the binary .spec and copy what I  
also need into that?

Anyhow - I understand you to be saying that the installed files in the  
srpm are the exact same files that the rpm would install?

Jan

---

<div class="post-metadata">

**Author:** ![jandot](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/439d5e/32.png) [@jandot](https://www.ruby-forum.com/u/jandot)\
**Post date:** [July 25, 2013, 9:42pm UTC](https://www.ruby-forum.com/t/spec-file-for-1-4-2-rpm/235953/3 "2013-07-25T21:42:50Z")

</div>

On 25 Jul2013, at 23:09 , Jan A. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Hi,
> 
> can anyone point me to the RPM .spec file for the binary RHEL 6 RPM?
> 
> I need to create a binary RPM in a certain context and look for a quick starting  
> point.

Take it from srpm:  
[http://nginx.org/packages/rhel/6/SRPMS/nginx-1.4.2-1.el6.ngx.src.rpm](http://nginx.org/packages/rhel/6/SRPMS/nginx-1.4.2-1.el6.ngx.src.rpm)

---

<div class="post-metadata">

**Author:** ![jandot](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/439d5e/32.png) [@jandot](https://www.ruby-forum.com/u/jandot)\
**Post date:** [July 25, 2013, 11:43pm UTC](https://www.ruby-forum.com/t/spec-file-for-1-4-2-rpm/235953/4 "2013-07-25T23:43:45Z")

</div>

On 25.07.2013, at 22:09, Jan A. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Ah, ok. Sorry for being n00b maybe .

Damn … got it. The SRPM conatins the .spec file to build the RPM.

Oh my - stupid me.

Jan
