From b9299de67b5e55e90ae30387f5683ed3a687de3d682535925c704ff34e1a3e3b Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 3 May 2023 07:51:02 +0000 Subject: [PATCH] delete sysuser lines OBS-URL: https://build.opensuse.org/package/show/server:mail/grommunio-web?expand=0&rev=9 --- grommunio-web.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/grommunio-web.spec b/grommunio-web.spec index 07a4ac2..0d27db1 100644 --- a/grommunio-web.spec +++ b/grommunio-web.spec @@ -16,7 +16,7 @@ # -%if 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora_version} +%if 0%{?rhel} || 0%{?fedora_version} %global __brp_mangle_shebangs_exclude_from sabredav|vobject|generate_vcards %endif @@ -144,7 +144,7 @@ mkdir -pv "$b/usr/share/grommunio-common/nginx/upstreams.d" install -Dpvm 644 build/grommunio-web-upstream.conf "$b/usr/share/grommunio-common/nginx/upstreams.d/grommunio-web.conf" # PHP-FPM -mkdir -pv "$b/%fpmdir" "$b/%_sysusersdir" +mkdir -pv "$b/%fpmdir" install -Dpvm 644 build/pool-grommunio-web.conf "$b/%fpmdir/pool-grommunio-web.conf" # web config @@ -207,7 +207,6 @@ runuser -u groweb -- ipcrm -M 0x950412DE 2>/dev/null || : %dir %attr(0770,groweb,groweb) /var/lib/grommunio-web/tmp %dir %attr(0770,groweb,groweb) /var/lib/grommunio-web/sqlite-index %dir %attr(0770,groweb,groweb) /var/lib/grommunio-web/session -%_sysusersdir/*.conf %dir %_datadir/%name %exclude %_datadir/%name/LICENSE.txt