Commit Graph

306 Commits

Author SHA1 Message Date
Peter Robinson
74667b2a32 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 2015-11-10 14:53:03 +00:00
Pavel Raiskup
8a02c71231 multilib: fix devel subpackage
Remove the templates and add sufficiently general script to
generate the header stub file.  I'll try to propose this to
redhat-rpm-config package inclusion.

Resolves: rhbz#1190346
Version: 9.4.5-2
2015-10-16 15:45:27 +02:00
Pavel Raiskup
4034635788 devel: stop requiring 'postgresql' package
Resolves: rhbz#1272219
Version: 9.4.5-2
2015-10-16 15:40:42 +02:00
Pavel Raiskup
5cf6330f38 rebase: minor release update
Per release notes:
http://www.postgresql.org/docs/9.4/static/release-9-4-5.html

Version: 9.4.5-1
2015-10-06 15:23:21 +02:00
Pavel Raiskup
b66f190455 postgresql-setup: rebase to 3.4
Resolves: rhbz#1265319, rhbz#1247477
Version: 9.4.4-6
2015-09-25 13:54:46 +02:00
Pavel Raiskup
72ca6afc2a build: enable hardened build
https://bugzilla.redhat.com/show_bug.cgi?id=952946#c25

Resolves: rhbz#947022
Version: 9.4.4-5
2015-09-17 11:16:50 +02:00
Pavel Raiskup
a037a89502 spec: install README.rpm-dist properly
Resolves: rhbz#1249708
Version: 9.4.4-4
2015-08-04 12:50:04 +02:00
Pavel Raiskup
31524fb5ac multilib: fix wrong arch classification
This partly reverts e6acde1a9 commit where is no clear
justification why the change was actually done.  Because the
pg_config.h was not ready for ppc64p7 and aarch64 -- it was clear
breakage.  In 1242873 discussion, it appeared that ppc64p7 needs
special handling as it is compatible/equivalent with ppc64.

Resolves: rhbz#1242873
Version: 9.4.4-3
2015-07-14 21:38:12 +02:00
Dennis Gilmore
9e3e9192dc - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 15:41:44 +00:00
Pavel Raiskup
7184916356 tests: fix failure for Perl 5.22
Resolves: rhbz#1231279
Version: 9.4.4-1
2015-06-15 09:36:54 +02:00
Pavel Raiskup
295849a9b5 rebase: minor release update
Per release notes:
http://www.postgresql.org/docs/9.4/static/release-9-4-4.html

Version: 9.4.4-1
2015-06-11 15:48:32 +02:00
Jitka Plesnikova
0729cbe435 Perl 5.22 rebuild 2015-06-06 18:24:03 +02:00
Jozef Mlich
68a237cd75 rebase: minor release update
Per release notes:
http://www.postgresql.org/docs/9.4/static/release-9-4-3.html

Version: 9.4.3-1
2015-06-03 13:44:19 +02:00
Jozef Mlích
e66ec66d19 rebase: minor release update
Per release notes:
http://www.postgresql.org/docs/9.4/static/release-9-4-2.html

Version: 9.4.2-1
2015-05-22 01:07:51 +02:00
Pavel Raiskup
3c624ca2d8 build: disable hardening
Version: 9.4.1-4
2015-05-22 00:06:58 +02:00
Pavel Raiskup
3120db36c4 check: be more verbose if something failed
Version: 9.4.1-4
2015-05-22 00:00:04 +02:00
Jozef Mlich
e6acde1a90 Using rpm macros instead of hard wired paths; Adding aarch64, ppc64p7 2015-03-26 09:44:50 +01:00
Jozef Mlich
08eb705370 Update of postgresql-setup to 3.3 2015-03-26 09:43:26 +01:00
Jozef Mlich
58e1c1f5ad Adding tcl-pgtcl into Requires of -tcl subpackage 2015-03-19 16:55:44 +01:00
Pavel Raiskup
ab286396f6 rebase: minor release update
Per release notes:
http://www.postgresql.org/docs/9.4/static/release-9-4-1.html

Version: 9.4.1-1
2015-02-05 16:00:38 +01:00
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
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
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
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
Pavel Raiskup
9d28c85075 spec: split aarch64 patch to allow build for %upgrade == 0
Version: 9.2.4-6
2013-07-24 14:15:40 +02:00
Pavel Raiskup
44506bd77e testsuite: fix FTBFS against perl-5.18
Version: 9.2.4-5
2013-07-23 10:15:05 +02:00
Petr Písař
304cc8de27 Perl 5.18 rebuild 2013-07-18 02:37:26 +02:00
Pavel Raiskup
6f62d3591c spec: fix bogus versions in changelog
Version: 9.2.4-4
2013-07-09 14:35:23 +02:00
Pavel Raiskup
3fea88c154 spec: do not use 'patch -b' for manual page fixes
The 'make install' target in Makefile is written by hand (not generated by
automake) and it can't tell whether the backups are/(are not) regular
manpages.  Thus it would install also all backups as it was manual page.

Detected by RPMDiff (private link):
    https://rpmdiff.lab.eng.brq.redhat.com/run/43086/3/

Version: 9.2.4-4
2013-07-09 14:35:15 +02:00
Pavel Raiskup
a57d617cef spec: replace hard-coded path with macro
Version: 9.2.4-3
2013-06-20 09:46:48 +02:00
Pavel Raiskup
3992fad4ad README.rpm-dist: point user to install postgresql-server
Resolves: #969050
Version: 9.2.4-3
2013-06-20 09:44:06 +02:00
Pavel Raiskup
33319f6255 spec: ups, forgot to bump release in changelog during rebase
Version: 9.2.4-3
2013-06-13 10:38:57 +02:00
Pavel Raiskup
3202ca7723 man: apply the forgotten man-page-day patch
Version: 9.2.4-3
Related: #948933
2013-06-13 10:35:44 +02:00
Pavel Raiskup
0415e338bc postgresql: fix for atomic operations in aarch64
.. is needed also in the older version.

Version: 9.2.4-3
Resolves: #970661
2013-06-13 10:33:54 +02:00
Jan Staněk
cac63b3ab0 added patch for manual pages (#948933) 2013-06-13 09:38:22 +02:00
Pavel Raiskup
63807df6fc postgresql-setup: fail earlier during bad $PGDATA dir creation
Related: #972425
Version: 9.2.4-2
2013-06-11 11:04:44 +02:00
Pavel Raiskup
30d053b7a5 postgresql: add support for atomic operations in aarch64
Version: 9.2.4-2
Resolves: #970661
2013-06-05 09:37:37 +02:00
Pavel Raiskup
b6b61d6de7 spec: fix rpmlint warnings
Version: 9.2.4-1
2013-06-04 15:28:55 +02:00
Tom Lane
d27a983cef Update to PostgreSQL 9.2.4 2013-04-04 09:42:29 -04:00
Tom Lane
3b77faf93c Update to PostgreSQL 9.2.3 2013-02-07 10:50:50 -05:00
Tom Lane
1cd49a06e5 Fix bugs 891531 and 891547 2013-01-03 18:37:36 -05:00
Tom Lane
73e3a6adf8 Make building of plpython3 dependent on Fedora version, per guidelines 2012-12-19 12:15:54 -05:00
Tom Lane
5f6fb7975f Update to PostgreSQL 9.2.2 2012-12-06 11:05:36 -05:00
Tom Lane
36551c37db Update to PostgreSQL 9.2.1 2012-09-24 11:33:10 -04:00
Tom Lane
795d3d1431 Update to PostgreSQL 9.2.0; add postgresql-plpython3 2012-09-10 11:15:54 -04:00
Tom Lane
8f944a5a01 Remove unnecessary ldconfig calls in pre/post triggers 2012-08-28 01:01:14 -04:00
Tom Lane
f95c6455f3 Update to PostgreSQL 9.1.5 2012-08-17 11:48:18 -04:00
Tom Lane
497da8cf86 Place Unix sockets in /var/run/postgresql. 2012-08-13 13:13:01 -04:00
Dennis Gilmore
0011b0bd43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-20 21:45:24 -05:00
Tom Lane
67b80785ce Add legacy action scripts, fix oom_score_adj usage 2012-07-14 23:45:13 -04:00
Petr Písař
b937d0f13c Perl 5.16 rebuild 2012-06-11 15:16:04 +02:00
Tom Lane
d270fa3ca6 Update to 9.1.4. 2012-06-04 08:31:09 -04:00
Tom Lane
de5b387d8f Fix postgresql-setup to rely on systemd to parse the unit file 2012-03-17 12:47:37 -04:00
Tom Lane
338b75480d Fix postgresql-setup, re-add init script 2012-03-13 19:38:14 -04:00
Tom Lane
2e73ff757c Update to PostgreSQL 9.1.3 2012-02-27 11:05:52 -05:00
Tom Lane
d44dce3f6c Resurrect startup check for database presence. 2012-01-09 15:24:29 -05:00
Tom Lane
a60f809e42 Update to PostgreSQL 9.1.2 2011-12-05 11:32:50 -05:00
Honza Horák
9c2d09be8c Merge branch 'master' of ssh://pkgs.fedoraproject.org/postgresql 2011-11-08 17:58:26 +01:00
Honza Horák
f82c498740 Changed Resolves to Related by bug #729012 2011-11-08 17:57:50 +01:00
Tom Lane
464a98d92f Improve %description text for PostgreSQL. 2011-11-07 12:21:47 -05:00
Honza Horák
c99f89f75b Create a symlink of pg_regress instead of full copy;
Don't strip symbols from regress libs
Resolves: #729012
2011-11-02 10:05:15 +01:00