From: Ken Dreyer Date: Mon, 12 Jan 2015 19:26:34 +0000 (-0700) Subject: packaging: rm unnecessary RPM tags X-Git-Tag: v1.2.1~9^2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9a8a40bf9268bc29f08ce8cd25f6ee3fb68cfe19;p=radosgw-agent.git packaging: rm unnecessary RPM tags The BuildRoot tag is only needed on RHEL 5. RHEL 6 and newer are fine without this setting. The %{_prefix} macro is already /usr by default. The Vendor tag is something that should be left undefined in the packaging .spec itself. Ordinarily this is added during the build by the build system. Signed-off-by: Ken Dreyer --- diff --git a/radosgw-agent.spec b/radosgw-agent.spec index 98e4840..3237618 100644 --- a/radosgw-agent.spec +++ b/radosgw-agent.spec @@ -5,10 +5,7 @@ Release: 0 Source0: %{name}-%{version}.tar.gz License: MIT Group: Development/Libraries -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot -Prefix: %{_prefix} BuildArch: noarch -Vendor: Josh Durgin Requires: python-argparse Requires: PyYAML Requires: python-boto >= 2.2.2