Commit Graph

123 Commits

Author SHA256 Message Date
Reinhard Max
5ee447d4f0 - Bump default to 16.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=152
2023-09-14 13:13:05 +00:00
Reinhard Max
28579fc4bf - Bump major version to prepare for PostgreSQL 16, but keep
default at 15 for now on Factory.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=151
2023-08-07 13:07:48 +00:00
Reinhard Max
706b1c8af7 - Overhaul README.SUSE and move it from the binary package to the
noarch wrapper package.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=147
2023-05-15 14:18:48 +00:00
Reinhard Max
4dfbe99e89 - bsc#1209208: Drop hard dependency on systemd
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=146
2023-03-27 17:12:32 +00:00
Reinhard Max
4f12378358 - bsc#1206796: Refine the distinction of where to use sysusers and
use bcond to have the expression only in one place.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=145
2023-01-09 11:03:44 +00:00
Reinhard Max
dd6702b849 Accepting request 1001032 from home:darix:branches:server:database:postgresql
- Bump to postgresql 15

OBS-URL: https://build.opensuse.org/request/show/1001032
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=141
2022-09-05 13:45:19 +00:00
Martin Pluskal
38a6a04078 Accepting request 962913 from home:gmbr3:Active
- Change to systemd-sysusers

OBS-URL: https://build.opensuse.org/request/show/962913
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=140
2022-04-14 08:24:39 +00:00
Reinhard Max
301c4bf8b2 - Move the dependency of llvmjit-devel on clang and llvm to the
implementation packages where we can depend on the correct
  versions.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=137
2021-12-02 14:11:36 +00:00
Reinhard Max
5911be21b6 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=134 2021-11-30 16:03:22 +00:00
Reinhard Max
192bd742a5 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=133 2021-11-19 14:24:57 +00:00
Reinhard Max
d49957dbdc Accepting request 931559 from home:darix:branches:server:database:postgresql
- First round of changes to make it easier to build extensions for
  - add postgresql-llvmjit-devel subpackage:
    This package will pull in clang and llvm if the distro has a
    recent enough version, otherwise it will just pull
    postgresql-server-devel.
  - add postgresql macros to the postgresql-server-devel package
    those cover all the variables from pg_config and some macros
    to remove repitition from the spec files

OBS-URL: https://build.opensuse.org/request/show/931559
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=132
2021-11-19 14:10:54 +00:00
Reinhard Max
7c8701a962 - Bump version and default to 14.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=131
2021-10-05 14:04:43 +00:00
Reinhard Max
ea1306cd9b - Re-enable build of the llvmjit subpackage on SLE, but it will
only be delivered on PackageHub for now (boo#1183118).

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=130
2021-05-18 13:45:07 +00:00
Reinhard Max
cdaebb3659 - Bump major and default version to 13.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=127
2020-09-25 08:00:00 +00:00
Reinhard Max
9c2b29dbb3 - We also transfer PostgreSQL 9.4.26 to the new package layout in
SLE12-SP2 and newer. Reflect this in the conflict with
  postgresql94.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=126
2020-08-14 05:48:42 +00:00
Reinhard Max
83e9b2b41d Compat definition for tmpfiles_create is not needed anymore
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=125
2020-07-06 07:01:48 +00:00
Reinhard Max
64e9ceca23 Accepting request 817275 from home:rmax:branches:server:database:postgresql
- Also conflict with PostgreSQL versions before 9.
- Add compat definition for the tmpfiles_create macro.
- Conflicting with older versions is not limited to SLE.

OBS-URL: https://build.opensuse.org/request/show/817275
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=124
2020-06-26 14:19:15 +00:00
Reinhard Max
ce56c37603 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=123 2020-06-17 14:22:21 +00:00
Reinhard Max
3797b05f5f OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=122 2020-06-17 13:56:28 +00:00
Reinhard Max
4e0ca66ec2 Accepting request 811567 from home:rmax:branches:server:database:postgresql
- Disable LLVM on SLE (bsc#1172274).
- Conflict with versions of the binary packages prior to the
  May 2020 update, because we changed the package layout at that
  point and need a clean cutover.

OBS-URL: https://build.opensuse.org/request/show/811567
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=121
2020-06-04 17:46:46 +00:00
Reinhard Max
b7322d4c9b - Fix a mistake in the creation of /var/lib/pgsql/.bash_profile
with the tmpfiles mechanism (bsc#1159335).

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=120
2019-12-17 10:48:51 +00:00
Reinhard Max
e646e1cba3 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=119 2019-11-14 12:38:52 +00:00
Reinhard Max
ba1957f1d2 Accepting request 741843 from home:darix:branches:server:database:postgresql
- bump to 12

OBS-URL: https://build.opensuse.org/request/show/741843
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=118
2019-10-22 13:34:32 +00:00
Reinhard Max
62d421e920 - Use the correct content for .bash_profile (boo#1153168).
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=117
2019-10-07 08:31:46 +00:00
Reinhard Max
bae088c398 - Stop shipping SUSEfirewall2 config files (bsc#1151591).
- Fix installation of bash_profile for SLE11 (pre systemd).

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=116
2019-09-23 14:29:26 +00:00
Reinhard Max
06cfbc3462 Accepting request 678171 from home:fbui:branches:server:database:postgresql
- 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.

OBS-URL: https://build.opensuse.org/request/show/678171
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=115
2019-02-25 15:10:48 +00:00
Reinhard Max
45b893abc9 - Change the persmissions for /var/run/postgresql to 1775, so that
the directory can only be used by users in the postgres group.
  At the same time a patch will be added to the postgresqlXX
  packages that adds a fallback to /tmp if socket creation in
  /var/run/postgresql fails.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=113
2019-02-19 16:10:28 +00:00
Reinhard Max
cc93967c99 Revert ownership change
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=110
2019-01-31 15:24:22 +00:00
Reinhard Max
c56829af43 - Move bash profile out of /var/lib to allow transactional updates
(bsc#1100397).
- Fix permissions and ownership of /var/run/postgresql .
- Use /run/postgresql instead of /var/run/postgresql in %ghost and
  postgresql-tmpfiles.conf to avoid rpmlint warnings and errors.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=109
2019-01-31 13:50:51 +00:00
Lars Vogdt
e02a7c1604 Accepting request 653071 from home:darix:branches:server:database:postgresql
- add /var/run/postgresql to the filelist. as %ghost for systemd
  systems and directly for non systemd systems

OBS-URL: https://build.opensuse.org/request/show/653071
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=108
2018-12-04 15:17:50 +00:00
afec6e157e - fix the unexpanded macro in the description of server-devel
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=107
2018-11-30 11:05:16 +00:00
Reinhard Max
cac213e51b - Also bump the default package to 11.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=106
2018-11-15 14:35:10 +00:00
f8af2b0a17 Accepting request 647055 from home:darix:branches:server:database:postgresql
- add server-devel and llvmjit package file sections

OBS-URL: https://build.opensuse.org/request/show/647055
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=105
2018-11-07 17:01:11 +00:00
Reinhard Max
84c15fc166 - Add the new subpackages server-devel and llvmjit that were
introduced with postgresql11.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=104
2018-10-25 13:15:53 +00:00
Reinhard Max
22345bc5f8 Accepting request 644310 from home:darix:branches:server:database:postgresql
- bump to 11

OBS-URL: https://build.opensuse.org/request/show/644310
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=103
2018-10-24 13:56:43 +00:00
38903b2e5f Accepting request 602555 from home:dimstar:Factory
- Require update-alternatives by postgresql: one of the main
  scripts in use is install-alternatives, which calls u-a.

OBS-URL: https://build.opensuse.org/request/show/602555
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=101
2018-05-02 14:02:08 +00:00
Martin Pluskal
38997f090a Accepting request 556940 from home:darix:branches:server:database:postgresql
- add provides for all the pkgconfig() provides you also find in
  the postgresqlXY-devel packages. then we automatically will pull
  postgresql-devel which in turn will pull our default
  postgresqlXY-devel package. (boo#1071971)

OBS-URL: https://build.opensuse.org/request/show/556940
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=99
2017-12-14 11:49:04 +00:00
de0278567f Accepting request 554763 from home:bruno_friedmann:branches:server:database:postgresql
- Replace references to /var/adm/fillup-templates with new 
  %_fillupdir macro (boo#1069468)

OBS-URL: https://build.opensuse.org/request/show/554763
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=98
2017-12-12 15:43:28 +00:00
Reinhard Max
6631adb591 - postgresql-test was missing a %files section.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=95
2017-11-14 08:56:22 +00:00
Reinhard Max
e5d1ca2c6b OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=94 2017-11-03 13:30:59 +00:00
Reinhard Max
f115c678e1 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=93 2017-11-03 13:27:36 +00:00
Reinhard Max
68e3cdac9a - Move the start/stop script to /usr/share/postgresql
- Add a script for handling update-alternatives as subpackages
  get installed/uninstalled, so that the implementation packages
  don't have to repeat the logic (postgresql-install-alternatives).
- Add the postgresql-test subpackage.
- Fix some dependencies.
- Save the enabled and running state when upgrading from the
  obsolete postgresql-init package.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=92
2017-11-03 12:59:51 +00:00
00771bc5b0 we actually needed the bumped version in the obsoletes more than in the provides
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=91
2017-10-06 17:05:30 +00:00
b13c8cb1c4 - properly guard the systemd macro in %pre server so it wont be
used on sle11
- add Requires(pre) so we have groupadd/useradd available

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=90
2017-10-06 14:39:51 +00:00
Reinhard Max
2d1ca233eb Dependency refinements and reduction of rpmlint warnings.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=89
2017-10-06 12:41:43 +00:00
Reinhard Max
97f7687608 More dependency adjustments
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=88
2017-09-25 15:18:43 +00:00
Reinhard Max
18cf988488 Fix some provides
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=87
2017-09-25 09:57:54 +00:00
Reinhard Max
fbfec6a5ae OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=85 2017-09-21 16:15:27 +00:00
Reinhard Max
0f2fbd2c27 - Refine the dependencies between the "dummy" packages and the
actual implementation of PostgreSQL. The dummy packages now
  require an arbitrary implementation and recommend the default
  version.
- Move the contents of postgresql-init to the server package.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=84
2017-09-21 13:48:21 +00:00
Reinhard Max
5bb6fea7ae Accepting request 525781 from home:darix:branches:server:database:postgresql
- bump to 10

OBS-URL: https://build.opensuse.org/request/show/525781
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=83
2017-09-13 16:53:50 +00:00