X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=postgresql.spec;h=c3ff632ee2f7c723604f5a3100d01bb4d6363646;hb=44787474400c6b609a40c16e28811e6c079c9bc6;hp=013eba75a4eac2886604437342f5dcee377e1bfd;hpb=aa31292909f50405eb0379d2823925041466483e;p=packages%2Fpostgresql.git diff --git a/postgresql.spec b/postgresql.spec index 013eba7..c3ff632 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -549,7 +549,7 @@ done %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \ - $RPM_BUILD_ROOT/var/{lib/pgsql,log,run/postgresql} \ + $RPM_BUILD_ROOT/var/{lib/postgresql/%{pgsqlversion},log,run/postgresql} \ $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \ $RPM_BUILD_ROOT%{_mandir} @@ -794,6 +794,7 @@ fi %dir %{pgsqldatadir}/man/man1 %dir %{pgsqldatadir}/man/man3 %dir %{pgsqldatadir}/man/man7 +%attr(700,postgres,postgres) %dir /var/lib/postgresql/%{pgsqlversion} %files doc %defattr(644,root,root,755)