]> git.pld-linux.org Git - packages/apache1-mod_rpaf.git/commitdiff
- added ipv6 bcond
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 24 Feb 2005 18:13:39 +0000 (18:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache1-mod_rpaf.spec -> 1.7

apache1-mod_rpaf.spec

index 363dd5e8904ae296adde7bc180842c6c3d9c36ca..2f2af705ca0196aa7d0efa114439145e555859d1 100644 (file)
@@ -1,20 +1,23 @@
 # TODO
 # - compile fails when apache1 is compiled with ipv6
+
+%bcond_with    ipv6            # disable IPv6 support
+
 %define                mod_name        rpaf
 %define        apxs            %{_sbindir}/apxs1
 Summary:       Apache module: record traffic statistics into a database
 Summary(pl):   Modu³ Apache'a: zapisywanie statystyk ruchu do bazy danych
 Name:          apache1-mod_%{mod_name}
 Version:       0.5
-Release:       0.13
+Release:       0.14
 License:       Apache
 Group:         Networking/Daemons
 Source0:       http://stderr.net/apache/rpaf/download/mod_%{mod_name}-%{version}.tar.gz
 # Source0-md5: 471fb059d6223a394f319b7c8ab45c4d
 Source1:       %{name}.conf
 URL:           http://stderr.net/apache/rpaf/
-BuildRequires: apache1-devel >= 1.3.33-2
-BuildConflicts:        apache1(ipv6)-devel
+%{?with_ipv6:BuildRequires:    apache1-devel >= 1.3.33-2}
+%{!?with_ipv6:BuildConflicts:  apache1(ipv6)-devel}
 Requires:      apache1 >= 1.3.33-2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
This page took 0.037829 seconds and 4 git commands to generate.