From bd25136d45d32b8d419fbe60e39572038e33cc59 Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Mon, 13 Jul 2015 18:12:01 +0200 Subject: [PATCH] ceph.spec.in: do not run fdupes, even on SLE/openSUSE In openSUSE there is a policy to use %fdupes in the spec file if RPMLINT complains about duplicate files wasting space in the filesystem. However, RPMLINT is not so complaining, so drop fdupes. http://tracker.ceph.com/issues/12301 Fixes: #12301 Signed-off-by: Nathan Cutler (cherry picked from commit 53072b9019caf72e0313b2804ea174237ed7da33) --- ceph.spec.in | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ceph.spec.in b/ceph.spec.in index b1372aa422a5c..91119a16a7cf4 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -77,7 +77,6 @@ BuildRequires: %insserv_prereq BuildRequires: mozilla-nss-devel BuildRequires: keyutils-devel BuildRequires: libatomic-ops-devel -BuildRequires: fdupes %else Requires: gdisk BuildRequires: nss-devel @@ -385,12 +384,6 @@ mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/ceph/bootstrap-osd mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/ceph/bootstrap-mds mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/radosgw -%if %{defined suse_version} -# Fedora seems to have some problems with this macro, use it only on SUSE -%fdupes -s $RPM_BUILD_ROOT/%{python_sitelib} -%fdupes %buildroot -%endif - %clean rm -rf $RPM_BUILD_ROOT -- 2.39.5