Hello community, here is the log from the commit of package postgresql for openSUSE:Factory checked in at 2015-10-24 10:25:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/postgresql (Old) and /work/SRC/openSUSE:Factory/.postgresql.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "postgresql" Changes: -------- --- /work/SRC/openSUSE:Factory/postgresql/postgresql.changes 2014-02-03 08:52:25.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.postgresql.new/postgresql.changes 2015-10-24 10:25:20.000000000 +0200 @@ -1,0 +2,11 @@ +Mon Sep 28 15:04:31 UTC 2015 - [email protected] + +- Move ~postgres/.bash_profile to postgresql-server to avoid a + file conflict between the versioned server packages. + +------------------------------------------------------------------- +Wed Feb 18 15:28:45 UTC 2015 - [email protected] + +- Bump version and defaultpackage to 9.4. + +------------------------------------------------------------------- New: ---- postgresql-bashprofile ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ postgresql.spec ++++++ --- /var/tmp/diff_new_pack.ksKzCY/_old 2015-10-24 10:25:21.000000000 +0200 +++ /var/tmp/diff_new_pack.ksKzCY/_new 2015-10-24 10:25:21.000000000 +0200 @@ -15,18 +15,20 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%define defaultpackage postgresql93 +%define defaultpackage postgresql94 Name: postgresql Summary: Basic Clients and Utilities for PostgreSQL License: PostgreSQL Group: Productivity/Databases/Tools -Version: 9.3 +Version: 9.4 Release: 0 Url: http://www.postgresql.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: %defaultpackage BuildArch: noarch +Source0: postgresql-bashprofile + %description PostgreSQL is an advanced object-relational database management system @@ -155,7 +157,9 @@ echo "This is a dummy package to provide a dependency on the default PostgreSQL version." > README %install -# Nothing to do here +mkdir -p %buildroot/var/lib/pgsql/ +sed 's,@LIBDIR@,%_libdir,g' %{SOURCE0} > \ + %buildroot/var/lib/pgsql/.bash_profile %files %defattr(-,root,root,-) @@ -164,6 +168,8 @@ %files server %defattr(-,root,root,-) %doc README +%attr(750,postgres,postgres) %dir /var/lib/pgsql +%attr(640,postgres,postgres) %config(noreplace) /var/lib/pgsql/.bash_profile %files docs %defattr(-,root,root,-) ++++++ postgresql-bashprofile ++++++ # Get PGDATA from /etc/sysconfig/postgresql if test -f /etc/sysconfig/postgresql; then eval eval $(sed -n '/^POSTGRES_DATADIR=/s//PGDATA=/p' /etc/sysconfig/postgresql) export PGDATA fi
