]> git.pld-linux.org Git - packages/apache-mod_jk.git/commitdiff
- cosmetics
authorankry <ankry@pld-linux.org>
Thu, 11 Sep 2003 13:09:38 +0000 (13:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_jk.spec -> 1.21

apache-mod_jk.spec

index 6d91b68313b0828176c33a10a229ad51f088ea4d..0cee82be44bfa9d92b51e2280ba51565f8e383f1 100644 (file)
@@ -1,5 +1,5 @@
 %define                _apache2        %(rpm -q apache-devel 2> /dev/null | grep -Eq '\\-2\\.[0-9]+\\.' && echo 1 || echo 0)
-%define        apxs            /usr/sbin/apxs
+%define                apxs            /usr/sbin/apxs
 Summary:       Apache module that handles communication between Tomcat and Apache
 Summary(pl):   Modu³ Apache'a obs³uguj±cy komunikacjê miêdzy Tomcatem a Apachem
 %define                mod_name        jk
@@ -18,14 +18,14 @@ BuildRequires:      automake
 BuildRequires: autoconf
 BuildRequires: perl-base
 %if %{_apache2}
-BuildRequires:  rpmbuild(macros) >= 1.120
-PreReq:         apache >= 2.0.40
-Requires:       apache(modules-api) = %{apache_modules_api}
+BuildRequires: rpmbuild(macros) >= 1.120
+PreReq:                apache >= 2.0.40
+Requires:      apache(modules-api) = %{apache_modules_api}
 %else
-PreReq:         apache(EAPI) < 2.0.0
-PreReq:         apache(EAPI) >= 1.3.9
-Requires(post,preun):   %{apxs}
-Requires(post,preun):   %{__perl}
+PreReq:                apache(EAPI) < 2.0.0
+PreReq:                apache(EAPI) >= 1.3.9
+Requires(post,preun):  %{apxs}
+Requires(post,preun):  %{__perl}
 Requires(post,preun):  grep
 Requires(preun):       fileutils
 %endif
@@ -33,8 +33,8 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     jakarta-tomcat-connectors-jk
 
 %define                _pkglibdir      %(%{apxs} -q LIBEXECDIR)
-%define         _javalibdir     /usr/share/java
-%define         _tomcatdir      %{_libdir}/tomcat
+%define                _javalibdir     /usr/share/java
+%define                _tomcatdir      %{_libdir}/tomcat
 
 %description
 JK is a replacement to the elderly mod_jserv. It was a completely new
@@ -52,7 +52,7 @@ Tomcat-Apache obs
 cd jk/native
 
 if [ -z "$JAVA_HOME" ]; then
-        JAVA_HOME=/usr/lib/java
+       JAVA_HOME=/usr/lib/java
 fi
 export JAVA_HOME
 ./buildconf.sh
@@ -86,7 +86,6 @@ install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/mod_jk.conf
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-
 %post
 %if ! %{_apache2}
 %{apxs} -e -a -n %{mod_name} %{_pkglibdir}/lib%{mod_name}.so 1>&2
This page took 0.074967 seconds and 4 git commands to generate.