From 0b8fe18386e69f615c2bf3b9b49dba484d575905 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 27 Sep 2007 10:26:46 +0000 Subject: [PATCH] - fix patch with ipv6 enabled Changed files: apache1-mod_rpaf.spec -> 1.22 --- apache1-mod_rpaf.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 -- 2.43.0