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:
Reinhard Max 2020-07-06 07:01:48 +00:00 committed by Git OBS Bridge
parent 64e9ceca23
commit 83e9b2b41d
2 changed files with 0 additions and 10 deletions

View File

@ -2,7 +2,6 @@
Fri Jun 26 13:49:21 UTC 2020 - Reinhard Max <max@suse.com>
- Also conflict with PostgreSQL versions before 9.
- Add compat definition for the tmpfiles_create macro.
- Conflicting with older versions is not limited to SLE.
-------------------------------------------------------------------

View File

@ -23,15 +23,6 @@
%define _fillupdir /var/adm/fillup-templates
%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
%bcond_without systemd
%else