]> git.pld-linux.org Git - packages/apache.git/commitdiff
- merged some cleanups from apache1.spec
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 9 May 2003 11:41:28 +0000 (11:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache.spec -> 1.207.2.2

apache.spec

index 6edb80ee52ba0a1c32a7d49fbaf38dd1c8b21d9a..98ef2e6a4eefc01b7ff4ad207ac9f58e10b46478 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-# mod_rewrite_ldap     - enable ldap map supoort for mod_rewrite (alpha)
+# _with_rewrite_ldap   - enable ldap map support for mod_rewrite (alpha)
 # _without_ipv6                - disable IPv6 support
 #
 %include       /usr/lib/rpm/macros.perl
@@ -27,7 +27,7 @@ Summary(uk):  
 Summary(zh_CN):        Internet ÉÏÓ¦ÓÃ×î¹ã·ºµÄ Web ·þÎñ³ÌÐò¡£
 Name:          apache
 Version:       1.3.27
-Release:       4 
+Release:       4
 License:       Apache Group 
 Group:         Networking/Daemons
 URL:           http://www.apache.org/
@@ -67,11 +67,10 @@ Patch22:    %{name}-security_htdigest_bufferoverflow.patch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 BuildRequires: db3-devel
 BuildRequires: mm-devel >= 1.1.3
-%{?mod_rewrite_ldap:BuildRequires: openldap-devel}
+%{?_with_rewrite_ldap:BuildRequires: openldap-devel}
 PreReq:                rc-scripts
 PreReq:                mm
 PreReq:                perl
-Requires(pre): sh-utils
 Requires(pre): /usr/bin/getgid
 Requires(pre): /bin/id
 Requires(pre): /usr/sbin/useradd
@@ -183,8 +182,6 @@ webbserver. Apache 
 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
 sunucusudur.
 
-%description -l uk
-
 %description -l zh_CN
 Apache Êǹ¦ÄÜÇ¿¾¢ÆëÈ«¡¢¸ßЧÇÒÃâ·ÑÌṩµÄ Web ·þÎñ³ÌÐò£¬ Í¬Ê±Ò²ÊÇ
 Internet ÉÏ×îÁ÷ÐеĠWeb ·þÎñ³ÌÐò¡£
@@ -314,6 +311,7 @@ Paketet apache-devel inneh
 Summary:       Apache module for run CGI whenever a file of a certain type is requested
 Summary(pl):   Modu³ dla apache do uruchamiania skryptów cgi
 Group:         Networking/Daemons
+Requires(post,preun):  %{_sbindir}/apxs
 Prereq:                %{_sbindir}/apxs
 Prereq:                perl
 Requires:      %{name}(EAPI) = %{version}
@@ -665,7 +663,7 @@ wa
 %patch10 -p1
 %patch11 -p1
 %patch12 -p1
-%{?mod_rewrite_ldap:%patch13 -p1}
+%{?_with_rewrite_ldap:%patch13 -p1}
 %patch14 -p1
 %patch15 -p1
 %patch16 -p1
@@ -711,7 +709,7 @@ rm -f src/modules/standard/mod_auth_db.so
 %{__make} -C src/modules/standard mod_auth_db.so LIBS_SHLIB="-ldb"
 
 rm -f src/modules/standard/mod_rewrite.so
-%{__make} -C src/modules/standard mod_rewrite.so LIBS_SHLIB="-ldb %{?mod_rewrite_ldap:-lldap -llber}"
+%{__make} -C src/modules/standard mod_rewrite.so LIBS_SHLIB="-ldb %{?_with_rewrite_ldap:-lldap -llber}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.039929 seconds and 4 git commands to generate.