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
This commit is contained in:
parent
64e9ceca23
commit
83e9b2b41d
@ -2,7 +2,6 @@
|
|||||||
Fri Jun 26 13:49:21 UTC 2020 - Reinhard Max <max@suse.com>
|
Fri Jun 26 13:49:21 UTC 2020 - Reinhard Max <max@suse.com>
|
||||||
|
|
||||||
- Also conflict with PostgreSQL versions before 9.
|
- Also conflict with PostgreSQL versions before 9.
|
||||||
- Add compat definition for the tmpfiles_create macro.
|
|
||||||
- Conflicting with older versions is not limited to SLE.
|
- Conflicting with older versions is not limited to SLE.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
|
@ -23,15 +23,6 @@
|
|||||||
%define _fillupdir /var/adm/fillup-templates
|
%define _fillupdir /var/adm/fillup-templates
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
#Compat macro for tmpfiles_create which doesn't exist on SLE12 before SP2
|
|
||||||
%if ! %{defined tmpfiles_create}
|
|
||||||
%define tmpfiles_create() \
|
|
||||||
[ -z "${TRANSACTIONAL_UPDATE}" -a -x /usr/bin/systemd-tmpfiles ] && \
|
|
||||||
/usr/bin/systemd-tmpfiles --create %{?*} || : \
|
|
||||||
%{nil}
|
|
||||||
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{?suse_version} >= 1300
|
%if 0%{?suse_version} >= 1300
|
||||||
%bcond_without systemd
|
%bcond_without systemd
|
||||||
%else
|
%else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user