rpms/redir/EL-6 import.log,1.2,1.3 redir.spec,1.3,1.4

Dennis Gilmore dennis at ausil.us
Mon May 10 16:37:16 UTC 2010


On Monday 10 May 2010 11:18:26 am Itamar Reis Peixoto wrote:
> Author: itamarjp
> 
> Update of /cvs/pkgs/rpms/redir/EL-6
> In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv20463/EL-6
> 
> Modified Files:
> 	import.log redir.spec
> Log Message:
> - fix building for EL-6
> 
> 
> 
> Index: import.log
> ===================================================================
> RCS file: /cvs/pkgs/rpms/redir/EL-6/import.log,v
> retrieving revision 1.2
> retrieving revision 1.3
> diff -u -p -r1.2 -r1.3
> --- import.log	25 Sep 2009 22:51:24 -0000	1.2
> +++ import.log	10 May 2010 16:18:25 -0000	1.3
> @@ -1,2 +1,3 @@
>  redir-2_2_1-3_fc11:HEAD:redir-2.2.1-3.fc11.src.rpm:1239099294
>  redir-2_2_1-5_fc12:HEAD:redir-2.2.1-5.fc12.src.rpm:1253918869
> +redir-2_2_1-6_fc13:EL-6:redir-2.2.1-6.fc13.src.rpm:1273508246
> 
> 
> Index: redir.spec
> ===================================================================
> RCS file: /cvs/pkgs/rpms/redir/EL-6/redir.spec,v
> retrieving revision 1.3
> retrieving revision 1.4
> diff -u -p -r1.3 -r1.4
> --- redir.spec	25 Sep 2009 22:51:24 -0000	1.3
> +++ redir.spec	10 May 2010 16:18:26 -0000	1.4
> @@ -1,6 +1,6 @@
>  Name:           redir
>  Version:        2.2.1
> -Release:        5%{?dist}
> +Release:        6%{?dist}
>  Summary:        Redirect TCP connections
> 
>  Group:          Applications/Internet
> @@ -13,8 +13,10 @@ BuildRoot:      %{_tmppath}/%{name}-%{ve
>  BuildRequires:  tcp_wrappers-devel
>  %endif
> 
> -%if 0%{?rhel}
> +%if 0%{?rhel} < 5
>  BuildRequires:  tcp_wrappers
> +%else
> +BuildRequires:  tcp_wrappers-devel
>  %endif

this fix is incorrect.  because "%if 0%{?rhel} < 5"  becomes if 0<5  on fedora 
since rhel is undefined. you need to add a check for fedora also.

> 
> 
> @@ -118,6 +120,9 @@ rm -rf $RPM_BUILD_ROOT
>  %{_mandir}/man1/%{name}.1*
> 
>  %changelog
> +* Mon May 10 2010 Itamar Reis Peixoto <itamar at ispbrasil.com.br> - 2.2.1-6
> +- fix building for EL-6
> +
>  * Fri Sep 25 2009 Itamar Reis Peixoto <itamar at ispbrasil.com.br> - 2.2.1-5
>  - start building for EPEL
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20100510/a29905d3/attachment.bin 


More information about the devel mailing list