Commit Graph

352 Commits

Author SHA1 Message Date
Pavel Raiskup
1fa73e0a7b sources: upstream disabled the ftp:// download option
Version: 9.6.5-1
2017-08-29 16:12:03 +02:00
Pavel Raiskup
d93550a71b rebase: update to 9.6.5
Per release notes:
https://www.postgresql.org/docs/9.6/static/release-9-6-5.html

Version: 9.6.5-1
2017-08-29 10:37:21 +02:00
Petr Kubat
698585a43d rebase: update to 9.6.4
Per release notes:
https://www.postgresql.org/docs/9.6/static/release-9-6-4.html

Resolves: #1480284
Version: 9.6.4-1
2017-08-11 11:51:28 +02:00
Fedora Release Engineering
c719c5ea1e - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 06:18:09 +00:00
Fedora Release Engineering
e244775c56 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 08:57:18 +00:00
Pavel Raiskup
c27dd8df9e plperl: drop postgresql-perl-rpath.patch
Perl now provides valid libperl.so in %_libdir so there's not need
to play with rpath anymore.

Resolves: rhbz#1474417
Version: 9.6.3-7
2017-07-24 17:03:18 +02:00
Pavel Raiskup
7c1110c041 spec: better provides-exclude fix based on rh-postgresql96
Version: 9.6.3-6
2017-06-26 12:10:07 +02:00
Pavel Raiskup
25dea2dcb8 spec: avoid providing libpqwalreceiver.so plugin as soname
Related: rhbz#1464368
Version: 9.6.3-6
2017-06-23 11:24:54 +02:00
Pavel Raiskup
36a141a4c0 spec: drop the old %beta hack about %__os_install_post
This always was broken and the %__os_install_post macro was
redefined also for non-beta builds;  that's because
%{?x:%global y z} defines %y even when %x is zero.

If we really wanted this %beta/%post hack, it would have to look
similarly to:
%{lua:if rpm.expand("%beta") ~= "0" then rpm.define('...') end}
On the other hand, I'm not sure that this is actually needed
nowadays so I'm removing it completely.  Please let us know if you
happen to need the %__os_install_post redefinition.

Originally added by commit 9636c11b0d.

Version: 9.6.3-5
2017-06-21 08:55:30 +02:00
Pavel Raiskup
235453b233 spec: drop -DLINUX_OOM_SCORE_ADJ=0 from CFLAGS
Related: rhbz#1110969, rhbz#1436554
Version: 9.6.3-4
2017-06-12 13:26:05 +02:00
Jitka Plesnikova
19739cf1a6 Perl 5.26 rebuild 2017-06-04 15:07:09 +02:00
Petr Kubat
5b2a26a63d fix indentation issues in hstore_plperlu test-case
Resolves: rhbz#1453111
Version: 9.6.3-2
2017-05-22 11:30:49 +02:00
Pavel Raiskup
4aa087fae3 rebase: update to 9.6.3
Per release notes:
https://www.postgresql.org/docs/9.6/static/release-9-6-3.html

Version: 9.6.3-1
2017-05-11 12:39:35 +02:00
Pavel Raiskup
cb6e898698 setup: new upstream release
Version: 9.6.2-4
2017-04-24 13:22:35 +02:00
Pavel Raiskup
56b78dd057 spec: spring cleanup #2 (systemd obsoleted constructs)
Resolves: rhbz#1440729
Version: 9.6.2-3
2017-04-24 13:22:21 +02:00
Pavel Raiskup
19af2059f2 spec: spring cleaning
- %_pkgdocdir definition, not needed now
- define %service_name == postgresql.service
- remove duplicate help2man br
- don't try to install perl-generators on RHEL
- add BR Data::Dumper for perl testsuite
- use %_localstatedir for several /var occurrences
- use %_datadir instead of hard-wiring it
- don't install *.o tutorial files (rhbz#1187514)
- use mv instead of cp for rhbz#1250006 work-around
- run 'make check' for postgresql-setup tarball

Resolves: rhbz#1440729
Version: 9.6.2-3
2017-04-24 13:22:03 +02:00
Pavel Raiskup
55a2b11e5d bump: rebuild for rhbz#1436006
Version: 9.6.2-2
Resolves: rhbz#1436006
2017-03-27 08:56:23 +02:00
Pavel Raiskup
0c1f8cf381 tests: fix testsuites for tzdata2017a
Version: 9.6.2-1
2017-03-13 11:12:16 +01:00
Pavel Raiskup
86f7229682 static: drop mistakenly added libpgfeutils.a
Version: 9.6.2-1
2017-02-22 10:01:46 +01:00
Pavel Raiskup
f200f72f3d rebase: update to 9.6.2
Per release notes:
https://www.postgresql.org/docs/9.6/static/release-9-6-2.html

Version: 9.6.2-1
2017-02-09 22:33:28 +01:00
Igor Gnatenko
069ea47da5 Rebuild for readline 7.x
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-01-12 17:30:37 +01:00
Miro Hrončok
61feab0edf Rebuild for Python 3.6 2016-12-19 18:20:36 +01:00
Pavel Raiskup
b0108e4725 build: remove config.{guess,sub} hacks
These issues are now automatically solved by %configure.

Version: 9.6.1-1
2016-10-26 08:43:54 +02:00
Pavel Raiskup
ba2a35679a build: remove plpython build hack
(fixed upstream: 7107d58ec5a3c45967e77525809612a5f89b97f3)

Version: 9.6.1-1
2016-10-26 08:29:39 +02:00
Pavel Raiskup
30648b934d rebase: update to 9.6.1
Per release notes:
https://www.postgresql.org/docs/9.6/static/release-9-6-1.html

Version: 9.6.1-1
2016-10-26 08:29:13 +02:00
Pavel Raiskup
bb1db959b3 setup: rebase to 5.0
- macros are now automatically generated
- there are convenient macros for testing other
  packages against postgresql-server

Resolves: rhbz#1368477, rhbz#1368480
Version: 9.6.0-1
2016-10-04 12:42:24 +02:00
Pavel Raiskup
041e748b02 typoe: remove leftover in comment
Version: 9.6.0-1
2016-10-02 14:17:53 +02:00
Pavel Raiskup
c02b42b8e8 build: fix plpython's makefile inconsistency
Version: 9.6.0-1
2016-10-01 09:11:17 +02:00
Pavel Raiskup
08014984d3 run_testsuite: don't fail immediately
Version: 9.6.0-1
2016-10-01 09:10:35 +02:00
Pavel Raiskup
97dfdfe4b9 rebase: new upstream major release
Per release notes:
https://www.postgresql.org/docs/9.6/static/release-9-6.html

Merged changes from https://github.com/devexp-db/postgresql-latest
- removal of obsoleted patch, we can set port in postgresql.conf
- install new files
- hack for plpython build

Version: 9.6.0-1
2016-10-01 09:09:13 +02:00
Petr Kubat
5239ac0d0f rebase: minor version update
Per upstream release notes:
http://www.postgresql.org/docs/9.5/static/release-9-5-4.html

Version: 9.5.4-1
2016-08-12 07:48:18 +02:00
Petr Písař
34e9d01899 Mandatory Perl build-requires added <https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl> 2016-06-24 09:25:25 +02:00
Pavel Raiskup
a3f63f1f95 packaging: depend on multilib-rpm-config
.. to correctly install architecture-dependant header files.

Related: rhbz#1286193
Version: 9.5.3-3
2016-06-21 12:15:14 +02:00
Jitka Plesnikova
b5308137b9 Perl 5.24 rebuild 2016-05-15 05:16:43 +02:00
Pavel Raiskup
f164285e53 rebase: minor version update
Per upstream release notes:
http://www.postgresql.org/docs/9.5/static/release-9-5-3.html

Version: 9.5.3-1
2016-05-12 10:36:48 +02:00
Pavel Raiskup
269d2b7daf test: pg_regress changed options
Use --bindir instead of --psqldir against PostgreSQL 9.5+.

Related: rhbz#1334276
Version: 9.5.2-2
2016-05-09 16:18:06 +02:00
Pavel Raiskup
c14bb2cdd1 packaging: own the datadir/postgresql-setup directory
Version: 9.5.2-1
Resolves: 1321918
2016-04-03 21:33:12 +02:00
Pavel Raiskup
b6b08dffec rebase: minor version update
Per upstream release notes:
http://www.postgresql.org/docs/9.5/static/release-9-5-2.html

Version: 9.5.2-1
2016-04-03 21:32:10 +02:00
Pavel Raiskup
f01c700fce static: add static libraries missed by packagers
Put those libraries into separate sub-package to make sure that
people build-require concrete subpackage (not devel subpackage),
and we can easily track them.

Resolves: rhbz#784281
Version: 9.5.1-2
2016-02-26 08:25:43 +01:00
Pavel Raiskup
89f36b76f7 rebase: minor version update
Per upstream release notes:
http://www.postgresql.org/docs/9.5/static/release-9-5-1.html

Version: 9.5.1-1
2016-02-09 15:19:16 +01:00
Fedora Release Engineering
c12fcd368d - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 18:22:43 +00:00
Pavel Raiskup
04a9ae75cf postgresql-setup: reflect pg_upgrade movement
The pg_upgrade binary was moved from postgresql-upgrade package
into postgresql package.

Version: 9.5.0-1
2016-01-07 00:14:58 +01:00
Pavel Raiskup
2427b5ec80 rebase: major release update
Per release notes:
http://www.postgresql.org/docs/9.5/static/release-9-5.html

Version: 9.5.0-1
2016-01-06 20:27:06 +01:00
Pavel Kajaba
10326645ae fix FTBFS caused by update of libxml2
Resolves: rhbz:#1286692
Version: 9.4.5-5
2015-12-16 12:56:26 +01:00
Pavel Kajaba
bda5fb8479 Added empty clean section to fix short-circuit
Version: 9.4.5-4
2015-12-03 14:48:46 +01:00
Pavel Raiskup
c7e64e17fc tests: fix FTBFS with new Python 3.5
Resolves: rhbz#1280404
Version: 9.4.5-3
2015-11-12 11:44:37 +01:00
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