Hello community, here is the log from the commit of package postgresql for openSUSE:Factory checked in at 2019-03-12 09:49:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/postgresql (Old) and /work/SRC/openSUSE:Factory/.postgresql.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "postgresql" Tue Mar 12 09:49:03 2019 rev:54 rq:678945 version:11 Changes: -------- --- /work/SRC/openSUSE:Factory/postgresql/postgresql.changes 2018-05-07 14:53:39.318082969 +0200 +++ /work/SRC/openSUSE:Factory/.postgresql.new.28833/postgresql.changes 2019-03-12 09:49:04.619589942 +0100 @@ -1,0 +2,59 @@ +Fri Feb 22 07:46:53 UTC 2019 - Franck Bui <f...@suse.com> + +- Drop use of $FIRST_ARG in .spec + + The use of $FIRST_ARG was probably required because of the + %service_* rpm macros were playing tricks with the shell positional + parameters. This is bad practice and error prones so let's assume + that no macros should do that anymore and hence it's safe to assume + that positional parameters remains unchanged after any rpm macro + call. + +------------------------------------------------------------------- +Tue Feb 19 16:05:22 UTC 2019 - Reinhard Max <m...@suse.com> + +- Change the persmissions for /var/run/postgresql to 1775, so that + the directory can only be used by users in the postgres group + (bsc#1123886). + +------------------------------------------------------------------- +Thu Jan 31 13:23:56 UTC 2019 - Reinhard Max <m...@suse.com> + +- Move bash profile out of /var/lib to allow transactional updates + (bsc#1100397). +- Use /run/postgresql instead of /var/run/postgresql in %ghost and + postgresql-tmpfiles.conf to avoid rpmlint warnings and errors. + +------------------------------------------------------------------- +Fri Nov 30 13:14:40 UTC 2018 - Marcus Rueckert <mrueck...@suse.de> + +- add /var/run/postgresql to the filelist. as %ghost for systemd + systems and directly for non systemd systems + +------------------------------------------------------------------- +Fri Nov 30 11:05:00 UTC 2018 - Marcus Rueckert <mrueck...@suse.de> + +- fix the unexpanded macro in the description of server-devel + +------------------------------------------------------------------- +Thu Nov 15 14:34:28 UTC 2018 - Reinhard Max <m...@suse.com> + +- Also bump the default package to 11. + +------------------------------------------------------------------- +Wed Nov 7 16:57:50 UTC 2018 - Marcus Rueckert <mrueck...@suse.de> + +- add server-devel and llvmjit package file sections + +------------------------------------------------------------------- +Thu Oct 25 13:14:25 UTC 2018 - Reinhard Max <m...@suse.com> + +- Add the new subpackages server-devel and llvmjit that were + introduced with postgresql11. + +------------------------------------------------------------------- +Mon Jul 2 17:08:32 UTC 2018 - mrueck...@suse.de + +- bump to 11 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ postgresql.spec ++++++ --- /var/tmp/diff_new_pack.ovmrEU/_old 2019-03-12 09:49:05.207589824 +0100 +++ /var/tmp/diff_new_pack.ovmrEU/_new 2019-03-12 09:49:05.211589824 +0100 @@ -15,7 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%define defaultpackage postgresql10 +%define defaultpackage postgresql%version #Compat macro for new _fillupdir macro introduced in Nov 2017 %if ! %{defined _fillupdir} @@ -32,7 +32,7 @@ Summary: Basic Clients and Utilities for PostgreSQL License: PostgreSQL Group: Productivity/Databases/Tools -Version: 10 +Version: 11 Release: 0 Url: https://www.postgresql.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -102,6 +102,41 @@ PostgreSQL server, which will in turn allow you to create and maintain PostgreSQL databases. +%package server-devel +Summary: PostgreSQL server development header files and utilities +Group: Development/Libraries/C and C++ +Provides: postgresql-server-devel-noarch = %version-%release +Requires: postgresql-server-devel-implementation +Recommends: %defaultpackage-server-devel + +%description server-devel +PostgreSQL is an advanced object-relational database management system +that supports an extended subset of the SQL standard, including +transactions, foreign keys, subqueries, triggers, and user-defined +types and functions. + +This package contains the header files and libraries needed to compile +C extensions that link into the PostgreSQL server. For building client +applications, see the %defaultpackage-devel package. + +%package llvmjit +Summary: Just-in-time compilation support for PostgreSQL +Group: Productivity/Databases/Servers +Provides: postgresql-llvmjit-noarch = %version-%release +Requires: postgresql-llvmjit-implementation +Recommends: %defaultpackage-llvmjit + +%description llvmjit +PostgreSQL is an advanced object-relational database management system +that supports an extended subset of the SQL standard, including +transactions, foreign keys, sub-queries, triggers, and user-defined +types and functions. + +This package contains support for just-in-time compiling parts of +PostgreSQL queries. Using LLVM it compiles e.g. expressions and tuple +deforming into native code, with the goal of accelerating analytics +queries. + %package test Summary: The test suite for PostgreSQL Group: Productivity/Databases/Servers @@ -233,7 +268,7 @@ %install mkdir -p %buildroot/var/lib/pgsql/ -install -m640 %{SOURCE5} %buildroot/var/lib/pgsql/.bash_profile +mkdir -p %buildroot/var/run/postgresql install -m755 -d %buildroot%{_fillupdir} install -m644 %{S:1} %buildroot%{_fillupdir}/sysconfig.postgresql @@ -244,6 +279,7 @@ install -m755 -d %buildroot/usr/sbin install -m755 -d %buildroot/usr/share/postgresql +install -m640 %{S:7} %buildroot/usr/share/postgresql/bash_profile install -m755 %{S:7} %buildroot/usr/share/postgresql/install-alternatives %if %{with systemd} @@ -276,7 +312,7 @@ # Save the "enabled" and "active" state across the transition of # ownership of postgresql.service from postgresql-init to # postgresql-server. -if [ "$FIRST_ARG" -ge 1 ]; then \ +if [ $1 -ge 1 ]; then \ if [ x$(systemctl is-enabled postgresql.service 2>/dev/null ||:) = "xenabled" ]; then touch %eflag fi @@ -334,7 +370,8 @@ %defattr(-,root,root,-) %doc README %attr(750,postgres,postgres) %dir /var/lib/pgsql -%attr(640,postgres,postgres) %config(noreplace) /var/lib/pgsql/.bash_profile +%attr(644,root,root) /usr/share/postgresql/bash_profile +%ghost %config %attr(640,postgres,postgres) /var/lib/pgsql/.bash_profile %if 0%{?suse_version} > 1110 %dir %fwdir @@ -347,8 +384,10 @@ %_tmpfilesdir/postgresql.conf %_unitdir/ /usr/share/postgresql/postgresql-script +%ghost %dir %attr(1775,root,root) /run/postgresql %else %config /etc/init.d/postgresql +%dir %attr(1775,root,root) /var/run/postgresql %endif %files test @@ -367,6 +406,14 @@ %defattr(-,root,root,-) %doc README +%files server-devel +%defattr(-,root,root,-) +%doc README + +%files llvmjit +%defattr(-,root,root,-) +%doc README + %files plperl %defattr(-,root,root,-) %doc README ++++++ postgresql-tmpfiles.conf ++++++ --- /var/tmp/diff_new_pack.ovmrEU/_old 2019-03-12 09:49:05.283589810 +0100 +++ /var/tmp/diff_new_pack.ovmrEU/_new 2019-03-12 09:49:05.283589810 +0100 @@ -1,2 +1,3 @@ # For the PostgreSQL server's unix domain socket -d /var/run/postgresql 1777 root root - +d /run/postgresql 1775 postgres postgres - - +f /var/lib/pgsql/.bash_profile 0640 postgres postgres - /usr/share/postgresql/bash_profile