.spec file for 1.4.2 RPM

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

On 25.07.2013, at 21:42, Sergey B. [email protected] wrote:

On 25 Jul2013, at 23:09 , Jan A. [email protected] 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

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

On 25 Jul2013, at 23:09 , Jan A. [email protected]
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

On 25.07.2013, at 22:09, Jan A. [email protected]
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