From: Ken Dreyer Date: Mon, 12 Jan 2015 20:34:18 +0000 (-0700) Subject: packaging: simplify RPM %setup section X-Git-Tag: v1.2.1~9^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=372f05109c5d1c2ca765c508fb8f1bd1055b8ca0;p=radosgw-agent.git 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 --- 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