From: radek Date: Sun, 19 Sep 2004 14:44:18 +0000 (+0000) Subject: - release 4: fixed the LoadModule path in *.conf X-Git-Tag: auto/ac/apache-mod_perl-1_99_15-4 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fapache-mod_perl.git;a=commitdiff_plain;h=c1d3447b40dbc7d374f814b338ac4d33fe634e75;ds=sidebyside - release 4: fixed the LoadModule path in *.conf - unified Changed files: apache-mod_perl.spec -> 1.65 --- diff --git a/apache-mod_perl.spec b/apache-mod_perl.spec index 07f3068..80d093e 100644 --- a/apache-mod_perl.spec +++ b/apache-mod_perl.spec @@ -24,7 +24,7 @@ Summary(uk): Summary(zh_CN): ÓÃÓÚ Apache web ·þÎñ³ÌÐòµÄ Perl ½âÊͳÌÐò¡£ Name: apache-mod_perl Version: 1.99_15 -Release: 3 +Release: 4 Epoch: 1 License: Apache Group: Networking/Daemons @@ -64,6 +64,8 @@ Obsoletes: mod_perl Obsoletes: mod_perl-common %define _noautoreqdep 'perl(Apache::.*)' 'perl(mod_perl)' +%define _sysconfdir %(%{apxs} -q SYSCONFDIR) +%define _pkglibdir %(%{apxs} -q LIBEXECDIR) %description Mod_perl incorporates a Perl interpreter into the Apache web server, @@ -213,13 +215,12 @@ Apache web %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_libdir}/apache,/etc/httpd/httpd.conf} -install -d $RPM_BUILD_ROOT/etc/httpd/httpd.conf/ +install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}/httpd.conf} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name \*.orig -exec rm -f '{}' \; -install %{SOURCE1} $RPM_BUILD_ROOT/etc/httpd/httpd.conf/75_mod_perl.conf +install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/75_mod_perl.conf %clean rm -rf $RPM_BUILD_ROOT @@ -242,8 +243,8 @@ fi %files %defattr(644,root,root,755) %doc Changes INSTALL README STATUS -%attr(755,root,root) %{_libdir}/apache/*.so -%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/httpd/httpd.conf/*.conf +%attr(755,root,root) %{_pkglibdir}/*.so +%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*.conf %{perl_vendorarch}/*.pm %{perl_vendorarch}/APR