Hello community, here is the log from the commit of package postgresql93 for openSUSE:Factory checked in at 2015-10-24 10:25:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/postgresql93 (Old) and /work/SRC/openSUSE:Factory/.postgresql93.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "postgresql93" Changes: -------- --- /work/SRC/openSUSE:Factory/postgresql93/postgresql93-libs.changes 2014-07-31 21:50:24.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.postgresql93.new/postgresql93-libs.changes 2015-10-24 10:25:29.000000000 +0200 @@ -1,0 +2,93 @@ +Mon Oct 12 12:25:05 UTC 2015 - max@suse.com + +- Security and bugfix release 9.3.10: + * CVE-2015-5289, bsc#949670: json or jsonb input values + constructed from arbitrary user input can crash the PostgreSQL + server and cause a denial of service. + * CVE-2015-5288, bsc#949669: The crypt() function included with + the optional pgCrypto extension could be exploited to read a + few additional bytes of memory. No working exploit for this + issue has been developed. +- For the full release notse, see: + http://www.postgresql.org/docs/current/static/release-9-3-10.html +- Move systemd related stuff and user creation to postgresql-init. +- Remove some obsolete %suse_version conditionals. +- Adjust build time dependencies. +- Fix some more rpmlint warnings. +- Relax dependency on libpq to major version. + +------------------------------------------------------------------- +Mon Sep 28 15:04:31 UTC 2015 - max@suse.com + +- Move ~postgres/.bash_profile to postgresql-server to avoid a + file conflict between the versioned server packages. + +------------------------------------------------------------------- +Thu Aug 20 14:45:37 UTC 2015 - max@suse.com + +- Merge openSUSE and SLE12 packages (bsc#941886). +- Merge .changes, remove duplicate entries and fix syntax + violations at the very bottom. +- postgresql-sle10-timestamptz.patch is obsolete. +- remove baselibs.conf, because we don't build the libarries any + longer. +- Bugfix release 9.3.9: + * Fix possible failure to recover from an inconsistent database + state. See full release notes for details. + * Fix rare failure to invalidate relation cache init file. + * Avoid deadlock between incoming sessions and CREATE/DROP + DATABASE. + * Improve planner's cost estimates for semi-joins and anti-joins + with inner indexscans +- For the full release notse, see: + http://www.postgresql.org/docs/9.3/static/release-9-3-9.html + +------------------------------------------------------------------- +Wed Jun 3 09:16:45 UTC 2015 - max@suse.com + +- Bugfix release 9.3.8: + * Avoid failures while fsync'ing data directory during crash + restart. + * Fix pg_get_functiondef() to show functions' LEAKPROOF + property, if set. + * Allow libpq to use TLS protocol versions beyond v1. +- For the full release notse, see: + http://www.postgresql.org/docs/9.3/static/release-9-3-8.html + +------------------------------------------------------------------- +Fri May 22 13:42:12 UTC 2015 - max@suse.com + +- Security and bugfix release 9.3.7: + * CVE-2015-3165, bsc#931972: Avoid possible crash when client + disconnects just before the authentication timeout expires. + * CVE-2015-3166, bsc#931973: Consistently check for failure of the + *printf() family of functions. + * CVE-2015-3167, bsc#931974: In contrib/pgcrypto, uniformly report + decryption failures as "Wrong key or corrupt data" + * Protect against wraparound of multixact member IDs. +- For the full release notse, see: + http://www.postgresql.org/docs/9.3/static/release-9-3-7.html + +------------------------------------------------------------------- +Fri Feb 20 16:12:09 UTC 2015 - max@suse.com + +- Security and bugfix release 9.3.6 (bnc#916953): + * Fix buffer overruns in to_char() (CVE-2015-0241). + * Fix buffer overrun in replacement *printf() functions + (CVE-2015-0242). + * Fix buffer overruns in contrib/pgcrypto (CVE-2015-0243). + * Fix possible loss of frontend/backend protocol synchronization + after an error (CVE-2015-0244). + * Fix information leak via constraint-violation error messages + (CVE-2014-8161). + + * For the other bug fixes, see the release notes: + http://www.postgresql.org/docs/9.3/static/release-9-3-6.html + +------------------------------------------------------------------- +Thu Feb 19 15:31:33 UTC 2015 - max@suse.com + +- Align spec file with version 9.4 and improve the building of + libs and devel. + +------------------------------------------------------------------- @@ -12,0 +106,5 @@ +Fri Jul 25 17:34:13 CEST 2014 - ro@suse.de + +- add BuildIgnore systemd-mini to fix build + +------------------------------------------------------------------- @@ -2251 +2349 @@ --------------------------------------------------------------------------- +------------------------------------------------------------------- @@ -2264 +2362 @@ --------------------------------------------------------------------------- +------------------------------------------------------------------- @@ -2269 +2367 @@ --------------------------------------------------------------------------- +------------------------------------------------------------------- @@ -2274 +2372 @@ --------------------------------------------------------------------------- +------------------------------------------------------------------- postgresql93.changes: same change Old: ---- baselibs.conf postgresql-9.3.5.tar.bz2 postgresql-bashprofile postgresql-sle10-timestamptz.patch postgresql-tmpfiles.conf New: ---- postgresql-9.3.10.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ postgresql93-libs.spec ++++++ --- /var/tmp/diff_new_pack.j4tImg/_old 2015-10-24 10:25:31.000000000 +0200 +++ /var/tmp/diff_new_pack.j4tImg/_new 2015-10-24 10:25:31.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package postgresql93-libs # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,8 +16,6 @@ # -%{!?_tmpfilesdir:%global _tmpfilesdir /usr/lib/tmpfiles.d} - %define majorversion 9.3 %define packageversion 93 %define pgname postgresql%packageversion @@ -26,7 +24,7 @@ %define libpq_so libpq.so.5 %define libecpg_so libecpg.so.6 %define buildmain 0 -%define buildlibs 1 +%define buildlibs 0 %define builddevel 1 %define pgbasedir %_prefix/lib/%pgname %define pgtestdir %pgbasedir/test @@ -44,7 +42,7 @@ BuildRequires: gettext-devel BuildRequires: ncurses-devel BuildRequires: pam-devel -BuildRequires: pwdutils +BuildRequires: postgresql-init BuildRequires: python-devel BuildRequires: readline-devel BuildRequires: tcl-devel @@ -52,43 +50,27 @@ BuildRequires: uuid-devel BuildRequires: zlib-devel # -%if 0%{?suse_version} >= 1210 -BuildRequires: systemd -%endif -%{?systemd_requires} %endif -%if 0%{?suse_version} >= 1110 BuildRequires: fdupes -%else -%define fdupes # -%endif - -%if 0%{?suse_version} > 910 BuildRequires: krb5-devel BuildRequires: libxslt-devel -%endif -BuildRequires: -postgresql -BuildRequires: -postgresql-libs BuildRequires: openldap2-devel BuildRequires: openssl-devel -BuildRequires: postgresql-init +BuildRequires: pkg-config BuildRequires: update-alternatives +#!BuildIgnore: %pgname Summary: Basic Clients and Utilities for PostgreSQL License: PostgreSQL Group: Productivity/Databases/Tools -Version: 9.3.5 +Version: 9.3.10 Release: 0 %define pg_minor_version %(echo %version | sed -r 's/^([0-9]+\\.[0-9]+).*/\\1/') -Source0: postgresql-%version.tar.bz2 -Source1: baselibs.conf +Source0: https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2 Source3: postgresql-README.SUSE -Source4: postgresql-tmpfiles.conf -Source15: postgresql-bashprofile Source17: postgresql-rpmlintrc Patch1: postgresql-conf.patch Patch2: postgresql-regress.patch -Patch3: postgresql-sle10-timestamptz.patch Patch6: postgresql-testsuite-int8.sql.patch Patch7: postgresql-testsuite-seclabel-location.patch Patch8: postgresql-testsuite-keep-results-file.patch @@ -96,7 +78,7 @@ Url: http://www.postgresql.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: postgresql = %version -Requires: %libpq >= %version +Requires: %libpq >= %majorversion Requires(post): update-alternatives Requires(postun): update-alternatives @@ -159,10 +141,10 @@ %if %builddevel %package -n %pgname-devel Summary: PostgreSQL development header files and libraries -Group: Productivity/Databases/Tools +Group: Development/Libraries/C and C++ Provides: postgresql-devel = %version -Requires: %libecpg >= %version -Requires: %libpq >= %version +Requires: %libecpg >= %majorversion +Requires: %libpq >= %majorversion Requires(post): update-alternatives Requires(postun): update-alternatives # Installation of postgresql??-devel is exclusive @@ -188,7 +170,6 @@ %package server Summary: The Programs Needed to Create and Run a PostgreSQL Server Group: Productivity/Databases/Servers -PreReq: pwdutils PreReq: /sbin/chkconfig PreReq: postgresql = %version PreReq: postgresql-init >= %majorversion @@ -198,9 +179,6 @@ Requires(postun): postgresql-init >= %majorversion Requires(post): update-alternatives Requires(postun): update-alternatives -%if 0%{?suse_version} >= 1210 -Requires(post): systemd -%endif %description server PostgreSQL is an advanced object-relational database management system @@ -328,18 +306,14 @@ touch -r configure tmp %patch1 %patch2 -# apply the following patch only on SLE10 -%if 0%{?suse_version} == 1010 -%patch3 -p1 -%endif -#%%patch4 %patch6 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 touch -r tmp configure rm tmp -find src/test/ -name '*.orig' -print0 | xargs -r0 rm -r +find src/test/ -name '*.orig' -delete +find -name .gitignore -delete %build PACKAGE_TARNAME=%name %configure \ @@ -380,7 +354,7 @@ make -C src/interfaces/ecpg/preproc %{?_smp_mflags} make -C src/bin/pg_config %{?_smp_mflags} pg_config %endif -%if %buildlibs +%if %buildlibs || %builddevel make -C src/interfaces %{?_smp_mflags} %endif %else @@ -392,13 +366,11 @@ %if 0%{?suse_version} > 910 %check -# temporarily disabled -exit 0 # # Run the regression tests. # make check || { - for f in src/test/regress/log/* regression.diffs; do + for f in src/test/regress/log/* {,src/test/regress/}regression.diffs; do if test -f $f; then cat $f fi @@ -422,7 +394,7 @@ install -m 0644 src/test/regress/{serial,parallel}_schedule %buildroot%pgtestdir/regress # }}} %endif -%if %buildlibs && !%buildmain +%if %builddevel && !%buildmain SUBINSTALL=install install -d %buildroot%pgmandir/man1 install -m644 doc/src/sgml/man1/{ecpg,pg_config}.1 %buildroot%pgmandir/man1 @@ -433,27 +405,21 @@ %endif # Install them for postgresql-libs and uninstall them for postgresql make -C src DESTDIR=%buildroot $SUBINSTALL-local +make -C src/pl/plpgsql/src DESTDIR=%buildroot $SUBINSTALL-headers for dir in \ config \ src/bin/pg_config \ -%if %buildlibs || %buildmain src/interfaces \ -%else -%if %builddevel - src/interfaces/ecpg/preproc \ -%endif -%endif src/include \ src/makefiles \ src/port \ src/common \ src/test/regress - do make -C $dir DESTDIR=%buildroot $SUBINSTALL done -%if %buildlibs +%if %builddevel # The client libraries go to libdir mkdir -p %buildroot/%_libdir ls %buildroot%pglibdir/lib* | @@ -475,23 +441,32 @@ grep -v -e %_docdir -e %pgbindir > contrib.files rm flag install -d -m 750 %buildroot/var/lib/pgsql -sed 's,@LIBDIR@,%_libdir,g' %{SOURCE15} > \ - %buildroot/var/lib/pgsql/.bash_profile install -d -m755 %buildroot%pgdocdir cp doc/KNOWN_BUGS doc/MISSING_FEATURES COPYRIGHT \ README HISTORY doc/bug.template %buildroot%pgdocdir cp -a %SOURCE3 %buildroot%pgdocdir/README.SUSE -install -d -m755 %buildroot/%_tmpfilesdir -install -m644 %SOURCE4 %buildroot%_tmpfilesdir/%pgname.conf %endif # Use versioned names for the man pages: for f in %buildroot%pgmandir/man*/*; do mv $f ${f}pg%packageversion done +%if %builddevel +# Make sure we can also link agaist newer versions +pushd %buildroot%_libdir +for f in *.so; do + ln -sf $f.? $f +done +popd %if %buildlibs %find_lang libpq5-%{pg_minor_version} libpq.lang %find_lang ecpglib6-%{pg_minor_version} libecpg.lang +%else +rm %buildroot/usr/share/locale/*/*/libpq5* +rm %buildroot/usr/share/locale/*/*/ecpglib6* +rm %buildroot%_libdir/lib*.so.* +rm %buildroot%pgdatadir/pg_service.conf.sample +%endif %endif cat > alternatives <<"EOF" shopt -s nullglob @@ -548,9 +523,9 @@ for pl in plperl plpython pltcl; do %find_lang $pl-%{pg_minor_version} $pl.lang done +%endif ln -s /etc/alternatives/postgresql %buildroot/usr/lib/postgresql touch %buildroot/etc/alternatives/postgresql -%endif %if %builddevel genlists devel \ pg_config ecpg @@ -564,17 +539,9 @@ update-alternatives --remove postgresql %pgbasedir fi -%post -f alternatives - -%pre server -groupadd -g 26 -o -r postgres >/dev/null 2>/dev/null || : -useradd -g postgres -o -r -d /var/lib/pgsql -s /bin/bash \ - -c "PostgreSQL Server" -u 26 postgres 2>/dev/null || : +%post -p /bin/bash -f alternatives %post server -f alternatives -%if 0%{?suse_version} >= 1210 -systemd-tmpfiles --create %pgname.conf -%endif %preun server # Stop only when we are uninstalling the currently running version @@ -653,6 +620,7 @@ %dir %pgdocdir %pgdocdir/extension %dir %pgdatadir +/usr/lib/postgresql %ghost /etc/alternatives/postgresql %files server -f server.files @@ -665,6 +633,7 @@ %pgdatadir/tsearch_data %exclude %pgdatadir/tsearch_data/*.rules %dir %pgdatadir +/usr/lib/postgresql %ghost /etc/alternatives/postgresql %pgdatadir/timezone* %pgdatadir/*.* @@ -677,8 +646,6 @@ %pglibdir/libpqwalreceiver.so %pgextensiondir/plpgsql* %attr(750,postgres,postgres) %dir /var/lib/pgsql -%attr(640,postgres,postgres) %config(noreplace) /var/lib/pgsql/.bash_profile -%_tmpfilesdir %files pltcl -f pltcl.lang %defattr(-,root,root) @@ -726,6 +693,8 @@ %_libdir/lib*.so %pglibdir/pgxs %pgincludedir +/usr/lib/postgresql +%ghost /etc/alternatives/postgresql %endif ++++++ postgresql93.spec ++++++ --- /var/tmp/diff_new_pack.j4tImg/_old 2015-10-24 10:25:31.000000000 +0200 +++ /var/tmp/diff_new_pack.j4tImg/_new 2015-10-24 10:25:31.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package postgresql93 # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,8 +16,6 @@ # -%{!?_tmpfilesdir:%global _tmpfilesdir /usr/lib/tmpfiles.d} - %define majorversion 9.3 %define packageversion 93 %define pgname postgresql%packageversion @@ -44,7 +42,7 @@ BuildRequires: gettext-devel BuildRequires: ncurses-devel BuildRequires: pam-devel -BuildRequires: pwdutils +BuildRequires: postgresql-init BuildRequires: python-devel BuildRequires: readline-devel BuildRequires: tcl-devel @@ -52,43 +50,27 @@ BuildRequires: uuid-devel BuildRequires: zlib-devel # -%if 0%{?suse_version} >= 1210 -BuildRequires: systemd -%endif -%{?systemd_requires} %endif -%if 0%{?suse_version} >= 1110 BuildRequires: fdupes -%else -%define fdupes # -%endif - -%if 0%{?suse_version} > 910 BuildRequires: krb5-devel BuildRequires: libxslt-devel -%endif -BuildRequires: -postgresql -BuildRequires: -postgresql-libs BuildRequires: openldap2-devel BuildRequires: openssl-devel -BuildRequires: postgresql-init +BuildRequires: pkg-config BuildRequires: update-alternatives +#!BuildIgnore: %pgname Summary: Basic Clients and Utilities for PostgreSQL License: PostgreSQL Group: Productivity/Databases/Tools -Version: 9.3.5 +Version: 9.3.10 Release: 0 %define pg_minor_version %(echo %version | sed -r 's/^([0-9]+\\.[0-9]+).*/\\1/') -Source0: postgresql-%version.tar.bz2 -Source1: baselibs.conf +Source0: https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2 Source3: postgresql-README.SUSE -Source4: postgresql-tmpfiles.conf -Source15: postgresql-bashprofile Source17: postgresql-rpmlintrc Patch1: postgresql-conf.patch Patch2: postgresql-regress.patch -Patch3: postgresql-sle10-timestamptz.patch Patch6: postgresql-testsuite-int8.sql.patch Patch7: postgresql-testsuite-seclabel-location.patch Patch8: postgresql-testsuite-keep-results-file.patch @@ -96,7 +78,7 @@ Url: http://www.postgresql.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: postgresql = %version -Requires: %libpq >= %version +Requires: %libpq >= %majorversion Requires(post): update-alternatives Requires(postun): update-alternatives @@ -159,10 +141,10 @@ %if %builddevel %package -n %pgname-devel Summary: PostgreSQL development header files and libraries -Group: Productivity/Databases/Tools +Group: Development/Libraries/C and C++ Provides: postgresql-devel = %version -Requires: %libecpg >= %version -Requires: %libpq >= %version +Requires: %libecpg >= %majorversion +Requires: %libpq >= %majorversion Requires(post): update-alternatives Requires(postun): update-alternatives # Installation of postgresql??-devel is exclusive @@ -188,7 +170,6 @@ %package server Summary: The Programs Needed to Create and Run a PostgreSQL Server Group: Productivity/Databases/Servers -PreReq: pwdutils PreReq: /sbin/chkconfig PreReq: postgresql = %version PreReq: postgresql-init >= %majorversion @@ -198,9 +179,6 @@ Requires(postun): postgresql-init >= %majorversion Requires(post): update-alternatives Requires(postun): update-alternatives -%if 0%{?suse_version} >= 1210 -Requires(post): systemd -%endif %description server PostgreSQL is an advanced object-relational database management system @@ -328,18 +306,14 @@ touch -r configure tmp %patch1 %patch2 -# apply the following patch only on SLE10 -%if 0%{?suse_version} == 1010 -%patch3 -p1 -%endif -#%%patch4 %patch6 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 touch -r tmp configure rm tmp -find src/test/ -name '*.orig' -print0 | xargs -r0 rm -r +find src/test/ -name '*.orig' -delete +find -name .gitignore -delete %build PACKAGE_TARNAME=%name %configure \ @@ -380,7 +354,7 @@ make -C src/interfaces/ecpg/preproc %{?_smp_mflags} make -C src/bin/pg_config %{?_smp_mflags} pg_config %endif -%if %buildlibs +%if %buildlibs || %builddevel make -C src/interfaces %{?_smp_mflags} %endif %else @@ -392,13 +366,11 @@ %if 0%{?suse_version} > 910 %check -# temporarily disabled -exit 0 # # Run the regression tests. # make check || { - for f in src/test/regress/log/* regression.diffs; do + for f in src/test/regress/log/* {,src/test/regress/}regression.diffs; do if test -f $f; then cat $f fi @@ -422,7 +394,7 @@ install -m 0644 src/test/regress/{serial,parallel}_schedule %buildroot%pgtestdir/regress # }}} %endif -%if %buildlibs && !%buildmain +%if %builddevel && !%buildmain SUBINSTALL=install install -d %buildroot%pgmandir/man1 install -m644 doc/src/sgml/man1/{ecpg,pg_config}.1 %buildroot%pgmandir/man1 @@ -433,27 +405,21 @@ %endif # Install them for postgresql-libs and uninstall them for postgresql make -C src DESTDIR=%buildroot $SUBINSTALL-local +make -C src/pl/plpgsql/src DESTDIR=%buildroot $SUBINSTALL-headers for dir in \ config \ src/bin/pg_config \ -%if %buildlibs || %buildmain src/interfaces \ -%else -%if %builddevel - src/interfaces/ecpg/preproc \ -%endif -%endif src/include \ src/makefiles \ src/port \ src/common \ src/test/regress - do make -C $dir DESTDIR=%buildroot $SUBINSTALL done -%if %buildlibs +%if %builddevel # The client libraries go to libdir mkdir -p %buildroot/%_libdir ls %buildroot%pglibdir/lib* | @@ -475,23 +441,32 @@ grep -v -e %_docdir -e %pgbindir > contrib.files rm flag install -d -m 750 %buildroot/var/lib/pgsql -sed 's,@LIBDIR@,%_libdir,g' %{SOURCE15} > \ - %buildroot/var/lib/pgsql/.bash_profile install -d -m755 %buildroot%pgdocdir cp doc/KNOWN_BUGS doc/MISSING_FEATURES COPYRIGHT \ README HISTORY doc/bug.template %buildroot%pgdocdir cp -a %SOURCE3 %buildroot%pgdocdir/README.SUSE -install -d -m755 %buildroot/%_tmpfilesdir -install -m644 %SOURCE4 %buildroot%_tmpfilesdir/%pgname.conf %endif # Use versioned names for the man pages: for f in %buildroot%pgmandir/man*/*; do mv $f ${f}pg%packageversion done +%if %builddevel +# Make sure we can also link agaist newer versions +pushd %buildroot%_libdir +for f in *.so; do + ln -sf $f.? $f +done +popd %if %buildlibs %find_lang libpq5-%{pg_minor_version} libpq.lang %find_lang ecpglib6-%{pg_minor_version} libecpg.lang +%else +rm %buildroot/usr/share/locale/*/*/libpq5* +rm %buildroot/usr/share/locale/*/*/ecpglib6* +rm %buildroot%_libdir/lib*.so.* +rm %buildroot%pgdatadir/pg_service.conf.sample +%endif %endif cat > alternatives <<"EOF" shopt -s nullglob @@ -548,9 +523,9 @@ for pl in plperl plpython pltcl; do %find_lang $pl-%{pg_minor_version} $pl.lang done +%endif ln -s /etc/alternatives/postgresql %buildroot/usr/lib/postgresql touch %buildroot/etc/alternatives/postgresql -%endif %if %builddevel genlists devel \ pg_config ecpg @@ -564,17 +539,9 @@ update-alternatives --remove postgresql %pgbasedir fi -%post -f alternatives - -%pre server -groupadd -g 26 -o -r postgres >/dev/null 2>/dev/null || : -useradd -g postgres -o -r -d /var/lib/pgsql -s /bin/bash \ - -c "PostgreSQL Server" -u 26 postgres 2>/dev/null || : +%post -p /bin/bash -f alternatives %post server -f alternatives -%if 0%{?suse_version} >= 1210 -systemd-tmpfiles --create %pgname.conf -%endif %preun server # Stop only when we are uninstalling the currently running version @@ -653,6 +620,7 @@ %dir %pgdocdir %pgdocdir/extension %dir %pgdatadir +/usr/lib/postgresql %ghost /etc/alternatives/postgresql %files server -f server.files @@ -665,6 +633,7 @@ %pgdatadir/tsearch_data %exclude %pgdatadir/tsearch_data/*.rules %dir %pgdatadir +/usr/lib/postgresql %ghost /etc/alternatives/postgresql %pgdatadir/timezone* %pgdatadir/*.* @@ -677,8 +646,6 @@ %pglibdir/libpqwalreceiver.so %pgextensiondir/plpgsql* %attr(750,postgres,postgres) %dir /var/lib/pgsql -%attr(640,postgres,postgres) %config(noreplace) /var/lib/pgsql/.bash_profile -%_tmpfilesdir %files pltcl -f pltcl.lang %defattr(-,root,root) @@ -726,6 +693,8 @@ %_libdir/lib*.so %pglibdir/pgxs %pgincludedir +/usr/lib/postgresql +%ghost /etc/alternatives/postgresql %endif ++++++ postgresql-9.3.5.tar.bz2 -> postgresql-9.3.10.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/postgresql93/postgresql-9.3.5.tar.bz2 /work/SRC/openSUSE:Factory/.postgresql93.new/postgresql-9.3.10.tar.bz2 differ: char 11, line 1 ++++++ pre_checkin.sh ++++++ --- /var/tmp/diff_new_pack.j4tImg/_old 2015-10-24 10:25:31.000000000 +0200 +++ /var/tmp/diff_new_pack.j4tImg/_new 2015-10-24 10:25:31.000000000 +0200 @@ -12,7 +12,7 @@ sed -i \ -e 's/postgresql[[:digit:]]\{2\}/&-libs/g' \ -e 's/%define buildmain .*/%define buildmain 0/' \ - -e 's/%define buildlibs .*/%define buildlibs 1/' \ + -e 's/%define buildlibs .*/%define buildlibs 0/' \ -e 's/%define builddevel .*/%define builddevel 1/' \ postgresql??-libs.spec