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

index 98e4840005c85c4093afa583cf6af62f3a1671bc..32376189303bfeaf12e19785e811786c8b87d511 100644 (file)
@@ -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 <josh.durgin@inktank.com>
 Requires: python-argparse
 Requires: PyYAML
 Requires: python-boto >= 2.2.2