From: Elan Ruusamäe Date: Thu, 27 Sep 2007 10:26:46 +0000 (+0000) Subject: - fix patch with ipv6 enabled X-Git-Tag: auto/ac/apache1-mod_rpaf-0_5-8~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fapache1-mod_rpaf.git;a=commitdiff_plain;h=0b8fe18386e69f615c2bf3b9b49dba484d575905 - fix patch with ipv6 enabled Changed files: apache1-mod_rpaf.spec -> 1.22 --- diff --git a/apache1-mod_rpaf.spec b/apache1-mod_rpaf.spec index 72e10bd..7f4532e 100644 --- a/apache1-mod_rpaf.spec +++ b/apache1-mod_rpaf.spec @@ -8,7 +8,7 @@ Summary: Reverse proxy add forward module for Apache Summary(pl.UTF-8): Moduł Apache'a dodający przekazywanie dla odwrotnych proxy Name: apache1-mod_%{mod_name} Version: 0.5 -Release: 7 +Release: 8 License: Apache Group: Networking/Daemons Source0: http://stderr.net/apache/rpaf/download/mod_%{mod_name}-%{version}.tar.gz @@ -16,6 +16,7 @@ Source0: http://stderr.net/apache/rpaf/download/mod_%{mod_name}-%{version}.tar.g Source1: %{name}.conf Patch0: %{name}-ipv6.patch Patch1: mod_rpaf_degtine.patch +Patch2: %{name}_degtine.patch URL: http://stderr.net/apache/rpaf/ %{?with_ipv6:BuildRequires: apache1(ipv6)-devel} BuildRequires: apache1-devel >= 1.3.33-2 @@ -51,8 +52,12 @@ od wersji 1.3.25. %prep %setup -q -n mod_%{mod_name}-%{version} -%{?with_ipv6:%patch0 -p1} +%if %{with ipv6} +%patch0 -p1 +%patch2 -p1 +%else %patch1 -p1 +%endif %build %{apxs} -c mod_%{mod_name}.c -o mod_%{mod_name}.so