SPECS: apache1-mod_perl.spec - avoid apxs dep

glen glen at pld-linux.org
Tue Jan 3 13:55:39 CET 2006


Author: glen                         Date: Tue Jan  3 12:55:39 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- avoid apxs dep

---- Files affected:
SPECS:
   apache1-mod_perl.spec (1.29 -> 1.30) 

---- Diffs:

================================================================
Index: SPECS/apache1-mod_perl.spec
diff -u SPECS/apache1-mod_perl.spec:1.29 SPECS/apache1-mod_perl.spec:1.30
--- SPECS/apache1-mod_perl.spec:1.29	Thu Dec 29 20:32:50 2005
+++ SPECS/apache1-mod_perl.spec	Tue Jan  3 13:55:33 2006
@@ -28,7 +28,7 @@
 Summary(zh_CN):	ÓĂÓÚ Apache web ˇţÎńłĚĐňľÄ Perl ˝âĘÍłĚĐňĄŁ
 Name:		apache1-mod_perl
 Version:	1.29
-Release:	10.5
+Release:	10.6
 License:	GPL
 Group:		Networking/Daemons
 Source0:	http://perl.apache.org/dist/mod_perl-%{version}.tar.gz
@@ -51,7 +51,7 @@
 BuildRequires:	perl-libwww
 BuildRequires:	rpm-perlprov >= 4.1-13
 %requires_eq_to	apache1 apache1-devel
-Requires(triggerpostun):	%{apxs}
+Requires(triggerpostun):	sed >= 4.0
 Requires:	apache1(EAPI)
 Requires:	perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION')
 Provides:	apache(mod_perl)
@@ -268,7 +268,7 @@
 %triggerpostun -- apache1-mod_%{mod_name} < 1.29-7.1
 # check that they're not using old apache.conf
 if grep -q '^Include conf\.d' /etc/apache/apache.conf; then
-	%{apxs} -e -A -n %{mod_name} %{_pkglibdir}/lib%{mod_name}.so 1>&2
+	sed -i -e '/^\(Add\|Load\)Module.*libperl\.\(so\|c\)/d' /etc/apache/apache.conf
 fi
 
 %files
@@ -307,6 +307,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.30  2006/01/03 12:55:33  glen
+- avoid apxs dep
+
 Revision 1.29  2005/12/29 19:32:50  glen
 - correct last changelog
 - added -devel package
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/apache1-mod_perl.spec?r1=1.29&r2=1.30&f=u



More information about the pld-cvs-commit mailing list