From 6f955fc888f51f37a7664994734603fb0aea28f542d2b25292f3c8ca600659a2 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 5 Apr 2023 13:20:52 +0000 Subject: [PATCH] Fix sassc requirement OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=61 --- python-HyperKitty.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python-HyperKitty.spec b/python-HyperKitty.spec index c772a3d..3e2093c 100644 --- a/python-HyperKitty.spec +++ b/python-HyperKitty.spec @@ -93,12 +93,12 @@ BuildRequires: fdupes BuildRequires: openssl BuildRequires: python-rpm-macros BuildRequires: rsync -BuildRequires: sassc BuildRequires: sudo BuildArch: noarch %if 0%{?suse_version} >= 1550 # use the real python3 primary for rpm pythondistdeps.py BuildRequires: python3-packaging +BuildRequires: sassc %endif # SECTION test requirements BuildRequires: %{python_module Django >= 1.11} @@ -153,7 +153,9 @@ Provides: python3-%{hyperkitty_pkgname} = %{version}-%{release} Obsoletes: python3-%{hyperkitty_pkgname} < %{version}-%{release} Provides: %{mypython}-%{hyperkitty_pkgname} = %{version}-%{release} Obsoletes: %{mypython}-%{hyperkitty_pkgname} < %{version}-%{release} +%if 0%{?suse_version} >= 1550 Requires: sassc +%endif %description -n %{hyperkitty_pkgname} A web interface to access GNU Mailman v3 archives.