From 1dd43533b8c0a3e43ec8547496bf340c3bf24787 Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Fri, 26 May 2023 05:32:05 +0000 Subject: [PATCH] buildrequires: make -C and -N mutually exclusive --- macros.pyproject | 1 + 1 file changed, 1 insertion(+) diff --git a/macros.pyproject b/macros.pyproject index 5678610..dfb3e2d 100644 --- a/macros.pyproject +++ b/macros.pyproject @@ -158,6 +158,7 @@ fi %{-e:%{error:The -N and -e options are mutually exclusive}} %{-t:%{error:The -N and -t options are mutually exclusive}} %{-w:%{error:The -N and -w options are mutually exclusive}} +%{-C:%{error:The -N and -C options are mutually exclusive}} } %{-e:%{expand:%global toxenv %(%{__python3} -s %{_rpmconfigdir}/redhat/pyproject_construct_toxenv.py %{?**})}} echo 'pyproject-rpm-macros' # first stdout line matches the implementation in macros.aaa-pyproject-srpm