From 372f05109c5d1c2ca765c508fb8f1bd1055b8ca0 Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Mon, 12 Jan 2015 13:34:18 -0700 Subject: [PATCH] packaging: simplify RPM %setup section Remove duplicated -n settings to %setup. There were two that both did the same thing, and neither one is needed, since %setup unpacks %{name}-%{version} by default. Make %setup run quietly (with -q). This fixes an rpmlint warning. Signed-off-by: Ken Dreyer --- radosgw-agent.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radosgw-agent.spec b/radosgw-agent.spec index b596b3f..dd427a9 100644 --- a/radosgw-agent.spec +++ b/radosgw-agent.spec @@ -17,7 +17,7 @@ The Ceph RADOS Gateway agent replicates the data of a master zone to a secondary zone. %prep -%setup -n %{name}-%{version} -n %{name}-%{version} +%setup -q %build python setup.py build -- 2.47.3