]> git-server-git.apps.pok.os.sepia.ceph.com Git - radosgw-agent.git/commitdiff
packaging: simplify RPM %setup section
authorKen Dreyer <kdreyer@redhat.com>
Mon, 12 Jan 2015 20:34:18 +0000 (13:34 -0700)
committerKen Dreyer <kdreyer@redhat.com>
Mon, 12 Jan 2015 20:39:52 +0000 (13:39 -0700)
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 <kdreyer@redhat.com>
radosgw-agent.spec

index b596b3f3493aea2fc643510a66b95a90e1a84af4..dd427a9c9802c658c2eb11179aeac01670284a9c 100644 (file)
@@ -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