X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=postgresql.spec;h=f01307d8ece7d67d7b7c7783650a6ac6b96d32a9;hb=ae276c721d23ca2744f8c028d36f6b1aedd74230;hp=5f3756340f6c56ce4b5070f0876315ceacbb8156;hpb=5b0597cbe0c9404349bcf3fb17ea3abd1ef2540f;p=packages%2Fpostgresql.git diff --git a/postgresql.spec b/postgresql.spec index 5f37563..f01307d 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -548,7 +548,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} @@ -793,6 +793,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)