diff --git a/nextcloud.changes b/nextcloud.changes index 4a10bb9..53d06a9 100644 --- a/nextcloud.changes +++ b/nextcloud.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Dec 15 08:21:19 UTC 2020 - ecsos + +- The apache subpackage must require the main package, otherwise it + will not be uninstalled when the main package is uninstalled. + ------------------------------------------------------------------- Mon Dec 14 19:26:37 UTC 2020 - ecsos diff --git a/nextcloud.spec b/nextcloud.spec index 3452e33..4dc50b7 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -137,6 +137,7 @@ Summary: Apache configuration for %{name} Group: Productivity/Networking/Web/Utilities BuildRequires: apache2 >= 2.4 Requires: apache2 +Requires: %{name} = %{version} Requires: mod_php_any < 7.5.0 Requires: mod_php_any >= 7.2.0 Supplements: packageand(apache2:%name)