File project.diff of Package php8
--- php8.spec.orig
+++ php8.spec
@@ -45,7 +45,7 @@
%define extension_dir %{_libdir}/%{php_name}/extensions
%define php_sysconf %{_sysconfdir}/%{php_name}
-%bcond_without apparmor
+#bcond_without apparmor
%if 0%{?suse_version} >= 1500
%bcond_without argon2
%else
@@ -149,9 +149,9 @@ BuildRequires: pkgconfig(oniguruma)
BuildRequires: pkgconfig(openssl) >= 1.0.2
BuildRequires: pkgconfig(sqlite3) >= 3.7.7
BuildRequires: pkgconfig(zlib) >= 1.2.0.4
-%if %{with apparmor}
+#if #{with apparmor}
BuildRequires: pkgconfig(libapparmor)
-%endif
+#endif
%if %{with firebird}
# firebird-devel was merged into libfbclient2-devel for firebird 3
BuildRequires: firebird-devel
@@ -1144,9 +1144,7 @@ Build fastcgi \
Build fpm \
--enable-fpm \
--with-fpm-acl \
-%if %{with apparmor}
--with-fpm-apparmor \
-%endif
--with-fpm-systemd \
--with-fpm-user=%{apache_user} \
--with-fpm-group=%{apache_group} \