]> git.pld-linux.org Git - packages/apache-mod_auth_pgsql.git/commitdiff
- fix config dir master
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 9 Dec 2011 12:06:22 +0000 (12:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_auth_pgsql.spec -> 1.39

apache-mod_auth_pgsql.spec

index fda6decc57679564590cb21068437ee7074c988e..4e3b8d7a464f81072d1c3af80ec159e89183d402 100644 (file)
@@ -30,7 +30,7 @@ Obsoletes:    mod_auth_pgsql
 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                _sysconfdir     %(%{apxs} -q SYSCONFDIR 2>/dev/null)/conf.d
 
 %description
 This is an authentication module for Apache that allows you to
@@ -91,10 +91,10 @@ PostgreSQL-databas.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}/httpd.conf}
+install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}}
 
-install .libs/mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
-install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/52_mod_auth_pgsql.conf
+install -p .libs/mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
+cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/52_mod_auth_pgsql.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -110,5 +110,5 @@ fi
 %files
 %defattr(644,root,root,755)
 %doc *.html
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth_pgsql.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*_mod_auth_pgsql.conf
 %attr(755,root,root) %{_pkglibdir}/*.so
This page took 0.072714 seconds and 4 git commands to generate.