Commit Graph

404 Commits

Author SHA1 Message Date
Pavel Raiskup
3ca08a72e8 spec: sort %files lists (LANG=C sort)
Also substitute some hardwired paths with predefined macros.
Simplify tests a bit.

Version: 9.4.0-2
2015-02-04 07:32:53 +01:00
Jozef Mlich
fd57b14656 update to 9.4.0 per release notes
http://www.postgresql.org/docs/9.4/static/index.html
2015-01-05 10:27:20 +01:00
Pavel Raiskup
1ade253201 testsuite: put contents of regression.diffs to stdout
.. to help users who face issues like rhbz#1118392.

Also, testsuite consists of several 'make check' runs.  From now,
continue with checking if some of 'make check' runs failed;  just
to be sure we have complete test results.  Make the test failed
once all testing is done.

Resolves: #1118392
Version: 9.3.5-8
2014-11-24 14:57:21 +01:00
Pavel Raiskup
7fcd42641d upgrade: be more benevolent in locale comparison
In F20+, we should be OK for upgrades where locale changed like
from en_US.utf8 to en_US.UTF-8.

Resolves: #1007802
Version: 9.3.5-7
2014-10-20 12:04:05 +02:00
Pavel Raiskup
c88f76d540 postgresql-setup is now in separate tarball
.. together with other scripts and files.  This should make the
development and testing of those files easier.  Also packaging
should benefit from this change.

Version: 9.3.5-6
Resolves: #1145129
2014-09-22 14:55:49 +02:00
Jitka Plesnikova
721530b8e4 Perl 5.20 rebuild 2014-08-27 17:46:57 +02:00
Pavel Raiskup
ebf59e42fa rpm-macros: install macros.%{name}, not %{name}.macros
The %{name}.macros file is not loaded by rpm.  Spotted by jmlich
through regular dependency checker in Fedora & postgresql-ip4r
package.

Version: 9.3.5-4
2014-08-21 15:34:41 +02:00
Peter Robinson
09271080e2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 19:40:36 +00:00
Pavel Raiskup
c9a55bd785 spec: fix prevversion checksum link
Version: 9.3.5-2
2014-07-24 13:47:57 +02:00
Pavel Raiskup
0e0465561c rebase: minor release update
Per release notes:
http://www.postgresql.org/docs/9.3/static/release-9-3-5.html

Version: 9.3.5-1
2014-07-24 12:57:09 +02:00
Pavel Raiskup
4f1d2a0833 devel: guard against incompabtible plugin installation
Each package having some *.so plugin for postgresql-server should
be rebuilt against each major version bump of PostgreSQL.  Using
this statements in F21+

  BuildRequires: postgresql-devel
  Require: postgresql-server(:MODULE_COMPAT_%{postgresql_major})

then automatically blocks installation of postgresql-server and
incompatible plugin at the same time and thus indirectly forces
plugin maintainers to rebuild their packages against newer server.

File macros.postgresql now starts providing correct
%{postgresql_major} macro.

Resolves: #1008939
Version: 9.3.4-8
2014-07-18 09:10:43 +02:00
Pavel Raiskup
bf770dd7e1 spec: move big html documentation from base to *-docs package
Resolves: #1086420
Version: 9.3.4-8
2014-07-18 09:09:42 +02:00
Pavel Raiskup
a4d772f81c spec: provide postgresql-doc by postgresql-docs
Related: #1086420
Version: 9.3.4-8
2014-06-25 16:48:39 +02:00
Pavel Raiskup
49f074f191 service: OOM handling set compatibly with 9.5+
Thanks Tom.

Resolves: #1110969
Version: 9.3.4-7
2014-06-19 18:38:55 +02:00
Dennis Gilmore
abb534ae56 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 11:53:55 -05:00
Honza Horak
729866cc36 Rebuild for Python 3.4 2014-05-26 08:42:49 +02:00
Honza Horak
832a5a0ffd Change plpython_do test a bit so it is universal for all python versions 2014-05-23 16:53:39 +02:00
Jaroslav Škarvada
b57df46f2d - Rebuilt for https://fedoraproject.org/wiki/Changes/f21tcl86 2014-05-21 12:31:43 +02:00
Pavel Raiskup
533a1efbb6 postgresql-setup: work even if $PATH is unset or empty
.. by setting $PATH to default value.  Also check for command
existence by 'command' built-in instead of checking for file
existence.

Version: 9.3.4-2
Resolves: #1097317
2014-05-14 13:34:35 +02:00
Pavel Raiskup
d7e5562ac1 gitignore: trimmed
Version: 9.3.4-1 (spec untouched)
2014-04-23 14:47:00 +02:00
Jozef Mlich
365123c53c update to 9.3.4 minor version per release notes:
http://www.postgresql.org/docs/9.3/static/release-9-3-4.html
2014-03-20 17:18:11 +01:00
Jozef Mlich
a21b7d5314 - Fix WAL replay of locking an updated tuple
kudos to Alvaro Herrera

  See http://www.postgresql.org/message-id/CA+Tgmob8vfzYrLToqYr7uJ2moW3Gnv8rZpPtznxVXRPfTHQpCA@mail.gmail.com
2014-03-13 13:50:06 +01:00
Jozef Mlich
a2f501b795 update to 9.3.3 minor version per release notes:
http://www.postgresql.org/docs/9.3/static/release-9-3-3.html
2014-02-20 15:58:24 +01:00
Pavel Raiskup
6d2de0b6b6 postgresql-setup: typos
Version: 9.3.2-7
2014-01-23 10:56:07 +01:00
Pavel Raiskup
a43ac073bc postgresql-setup: add PGSETUP_PGUPGRADE_OPTIONS
This allows user to use something like
PGSETUP_PGUPGRADE_OPTIONS="-o '-B 5MB'" to work-around badly set
kernel.shmax value.

Version: 9.3.2-6
2014-01-21 15:55:42 +01:00
Pavel Raiskup
7df4c0e471 postgresql-setup: handle --version option earlier
This generated the manual page badly before as the output of
--version option depended on system's postgresql.service (not
available at a build time).  So handle options rather at the
beginning of the script.

Version: 9.3.2-5
2014-01-20 15:03:32 +01:00
Pavel Raiskup
ca2964b709 docu: document postgresql-setup in --help a little
Also automatically generate manual page from the help output.

Version: 9.3.2-4
2014-01-20 09:49:16 +01:00
Pavel Raiskup
44cd816532 spec: move script generation to proper place
Generate postgresql-setup and postgresql-check-db-dir in %prep
rather then in %install.  It is (a) better place and (b) it speeds
up its testing ('rpmbuild -bp *.spec' is able to generate them).

Version: 9.3.2-4
2014-01-13 10:01:49 +01:00
Pavel Raiskup
8e40185581 postgresql-setup: do not pretend 'sh' compatibility
At least the way the script is prepared for translation is adopted
from bash.

Version: 9.3.2-4
2014-01-13 10:01:47 +01:00
Pavel Raiskup
2f213ebd1d postgresql-setup: add $PGSETUP_INITDB_OPTIONS
Users may now specify by this variable parameters passed to initdb
run.  See `man initdb(1)`.  This may help if user gets stacked
with bug #1007802.

Related: #1007802
Version: 9.3.2-4
2014-01-13 10:01:44 +01:00
Pavel Raiskup
083dd21498 postgresql-setup: do not stop server when it can't be started
Version: 9.3.2-4
2014-01-13 09:59:32 +01:00
Pavel Raiskup
88e98c3302 spec: build with -O3 on ppc64
Resolves: #1051075 (private)
Version: 9.3.2-3
2014-01-10 09:35:43 +01:00
Pavel Raiskup
4c6bd5df12 postgresql-setup: lint
Rather use the --ignore-space-change when showing differences.

Version: 9.3.2-2
2013-12-16 14:43:19 +01:00
Jozef Mlich
85e0b076bc postgresql-setup: ignore misconfigure pg_hba.conf when upgrading
Resolves: #1040364
Version: 9.3.2-2
2013-12-16 14:39:50 +01:00
Jozef Mlich
3355515a99 update to 9.3.2 minor version per release notes:
http://www.postgresql.org/docs/9.3/static/release-9-3-2.html
2013-12-05 16:32:09 +01:00
Jozef Mlich
64b49cf833 postgresql-aarch64-atomic-upgrade.patch is not used 2013-10-17 10:41:33 +02:00
Jozef Mlich
4b81ad4d16 the prevversion (see package upgrade process) is updated
from 9.2.4 to 9.2.5
2013-10-17 10:29:33 +02:00
Jozef Mlich
e8483239a8 rebase to 9.3.1, see http://www.postgresql.org/docs/9.3/static/release-9-3-1.html 2013-10-10 17:51:24 +02:00
Jozef Mlich
1586e09e95 rebase to 9.3.1, see http://www.postgresql.org/docs/9.3/static/release-9-3-1.html 2013-10-10 17:50:43 +02:00
Jozef Mlich
3ee71ef8ba rebase to 9.3.1, see http://www.postgresql.org/docs/9.3/static/release-9-3-1.html 2013-10-10 17:50:25 +02:00
Jozef Mlich
2de7c2ec9d rebase to 9.3.1, see http://www.postgresql.org/docs/9.3/static/release-9-3-1.html 2013-10-10 17:48:19 +02:00
Jozef Mlich
8eaff12392 rebase to 9.3.1, see http://www.postgresql.org/docs/9.3/static/release-9-3-1.html 2013-10-10 17:46:49 +02:00
Jozef Mlich
592d0dee38 rebase to 9.3.1, see http://www.postgresql.org/docs/9.3/static/release-9-3-1.html 2013-10-10 17:45:08 +02:00
Pavel Raiskup
24c5bf3138 rebase: upgrade to version 9.3.0
Version: 9.3.0-1
2013-09-10 16:01:09 +02:00
Pavel Raiskup
f9f152f08e upgrade: stop old server in case of permissions problem
Version: 9.2.4-11
Resolves: #896161
2013-08-15 07:41:09 +02:00
Pavel Raiskup
4dafc07c13 upgrade: disable aggressive loop optimizations
This is important for gcc >= 4.8.0 as the optimizations were turned on by
default.  New code-base is OK thus enable this only for older
(upgrade-related) code.

Resolves: #993532
Version: 9.2.4-10
2013-08-12 07:32:50 +02:00
Pavel Raiskup
9124149d17 spec: fix links to docdir in postgresql-check-db-dir
Resolves: #994048
Version: 9.2.4-9
2013-08-07 08:31:13 +02:00
Pavel Raiskup
83ea972cfd spec: allow rpmbuild -bi --short-circuit
Version: 9.2.4-8
2013-08-06 13:06:03 +02:00
Dennis Gilmore
a680fe1178 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 23:57:45 -05:00
Pavel Raiskup
cb07b6b8cc spec: allow debug also for upgrade when %beta == 1
Version: 9.2.4-6
2013-07-29 10:33:23 +02:00