]> git.pld-linux.org Git - packages/apache-mod_clamav.git/commitdiff
- fix libtool, -avoid-version to get proper soname
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 25 Aug 2004 17:05:16 +0000 (17:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_clamav.spec -> 1.7

apache-mod_clamav.spec

index d7fbf16516fae1dfd5ca98bfc2bd2deae5680066..34a4b46dbea6efd2425beb3ee5c7581652745fbf 100644 (file)
@@ -18,9 +18,8 @@ BuildRequires:        apr-devel
 BuildRequires: apr-util-devel
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: bzip2-devel
 BuildRequires: clamav-devel
-BuildRequires: gmp-devel
+BuildRequires: libtool
 Requires:      apache >= 2
 Requires:      apache-mod_proxy
 Requires:      clamav
@@ -44,14 +43,15 @@ skanera antywirusowego Clamav.
 %setup -q -n mod_%{mod_name}-%{version}
 %patch0 -p0
 
+%{__perl} -pi -e 's/(-module)/$1 -avoid-version/' Makefile.am
+
 %build
+%{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__automake}
 
 CPPFLAGS="-I `/usr/bin/apr-config --includedir` -I `/usr/bin/apu-config --includedir`"
-export CPPFLAGS
-
 %configure \
        --with-apxs=%{apxs}
 
@@ -61,7 +61,7 @@ export CPPFLAGS
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}/httpd.conf}
 
-install .libs/mod_%{mod_name}.0.0.0 $RPM_BUILD_ROOT%{_pkglibdir}/mod_%{mod_name}.so
+install .libs/mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}/mod_%{mod_name}.so
 
 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf"
 install %{SOURCE1} ${CFG}/32_mod_clamav.conf
This page took 0.037863 seconds and 4 git commands to generate.