]> git.pld-linux.org Git - packages/apache-mod_auth_kerb.git/commitdiff
- use conf.d for apache config fragment; rel 2 auto/th/apache-mod_auth_kerb-5_3-2
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 26 Dec 2007 17:58:55 +0000 (17:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_auth_kerb.spec -> 1.16

apache-mod_auth_kerb.spec

index 1f0c7bf2df10a64a1a776bc5bd9bc15d57ce1be2..a14c041244de74344ccbdd5404e7810d2434acea 100644 (file)
@@ -8,7 +8,7 @@ Summary:        This is the Kerberos authentication module for Apache
 Summary(pl.UTF-8):     Moduł uwierzytelnienia Kerberos dla Apache
 Name:          apache-mod_%{mod_name}
 Version:       5.3
-Release:       1
+Release:       2
 Epoch:         1
 License:       GPL
 Group:         Networking/Daemons
@@ -25,8 +25,8 @@ BuildRequires:        sed >= 4.0
 Requires:      apache(modules-api) = %apache_modules_api
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _pkglibdir      %(%{apxs} -q LIBEXECDIR 2>/dev/null)
-%define                _sysconfdir     %(%{apxs} -q SYSCONFDIR 2>/dev/null)
+%define                pkgconfdir      %(%{apxs} -q SYSCONFDIR 2>/dev/null)/conf.d
+%define                pkglibdir       %(%{apxs} -q LIBEXECDIR 2>/dev/null)
 
 %description
 This is an authentication module for Apache that allows you to
@@ -50,10 +50,10 @@ uwierzytelnianie klientów HTTP z użyciem wpisów w katalogu Kerberosa.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}/httpd.conf}
+install -d $RPM_BUILD_ROOT{%{pkglibdir},%{pkgconfdir}}
 
-install src/.libs/mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
-install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/20_mod_%{mod_name}.conf
+install src/.libs/mod_%{mod_name}.so $RPM_BUILD_ROOT%{pkglibdir}
+install %{SOURCE1} $RPM_BUILD_ROOT%{pkgconfdir}/20_mod_%{mod_name}.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -69,5 +69,5 @@ fi
 %files
 %defattr(644,root,root,755)
 %doc README
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_%{mod_name}.conf
-%attr(755,root,root) %{_pkglibdir}/*.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{pkgconfdir}/*_mod_%{mod_name}.conf
+%attr(755,root,root) %{pkglibdir}/*.so
This page took 0.055446 seconds and 4 git commands to generate.