/[packages]/cauldron/postgresql9.3/current/SPECS/postgresql9.3.spec
ViewVC logotype

Diff of /cauldron/postgresql9.3/current/SPECS/postgresql9.3.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 477005 by fwang, Tue Sep 10 00:43:09 2013 UTC revision 477006 by fwang, Tue Sep 10 00:55:06 2013 UTC
# Line 38  Source10:      postgres.profile Line 38  Source10:      postgres.profile
38  Source11:       postgresql.service  Source11:       postgresql.service
39  Source13:       postgresql.distro.releasenote  Source13:       postgresql.distro.releasenote
40  Source14:       postgresql_initdb.sh  Source14:       postgresql_initdb.sh
41    Source15:       postgresql.tmpfiles.d
42    Patch6:         postgresql-var-run-socket.patch
43    
44  Requires:       perl  Requires:       perl
45  Provides:       postgresql-clients = %{version}-%{release}  Provides:       postgresql-clients = %{version}-%{release}
# Line 275  the backend. PL/PgSQL is part of the cor Line 277  the backend. PL/PgSQL is part of the cor
277    
278  %prep  %prep
279  %setup -q -n %{bname}-%{version}  %setup -q -n %{bname}-%{version}
280    %apply_patches
281    
282  %build  %build
283    
# Line 332  install -d -m 700 %{buildroot}/etc/sysco Line 335  install -d -m 700 %{buildroot}/etc/sysco
335  mkdir -p %{buildroot}%{_unitdir}  mkdir -p %{buildroot}%{_unitdir}
336  install -m 644 %{SOURCE11} %{buildroot}%{_unitdir}/%{bname}.service  install -m 644 %{SOURCE11} %{buildroot}%{_unitdir}/%{bname}.service
337    
338    # Create the directory for sockets.
339    install -d -m 755 %{buildroot}/var/run/postgresql
340    
341    # ... and make a tmpfiles script to recreate it at reboot.
342    mkdir -p %{buildroot}%{_tmpfilesdir}
343    install -m 0644 %{SOURCE15} %{buildroot}%{_tmpfilesdir}/postgresql.conf
344    
345  # install helper script for env initialisation  # install helper script for env initialisation
346  mkdir -p %{buildroot}%{_libexecdir}  mkdir -p %{buildroot}%{_libexecdir}
347  install -m 755 %{SOURCE14} %{buildroot}%{_libexecdir}/  install -m 755 %{SOURCE14} %{buildroot}%{_libexecdir}/
# Line 562  exit 1 Line 572  exit 1
572  %{_mandir}/man1/pg_upgrade.1*  %{_mandir}/man1/pg_upgrade.1*
573  %dir %{_libdir}/postgresql  %dir %{_libdir}/postgresql
574  %dir %{_datadir}/postgresql  %dir %{_datadir}/postgresql
575    %{_tmpfilesdir}/postgresql.conf
576    %attr(755,postgres,postgres) %dir /var/run/postgresql
577  %config(noreplace) /var/lib/pgsql/.bashrc  %config(noreplace) /var/lib/pgsql/.bashrc
578  %attr(-,postgres,postgres) /var/lib/pgsql/.profile  %attr(-,postgres,postgres) /var/lib/pgsql/.profile
579  %attr(700,postgres,postgres) %dir %{pgdata}  %attr(700,postgres,postgres) %dir %{pgdata}

Legend:
Removed from v.477005  
changed lines
  Added in v.477006

  ViewVC Help
Powered by ViewVC 1.1.30