Skip to content

Commit

Permalink
ceph.spec.in: do not run fdupes, even on SLE/openSUSE
Browse files Browse the repository at this point in the history
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 <ncutler@suse.com>
(cherry picked from commit 53072b9)
  • Loading branch information
smithfarm committed Jul 14, 2015
1 parent 9a79e8e commit cdde626
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions ceph.spec.in
Expand Up @@ -95,7 +95,6 @@ BuildRequires: %insserv_prereq
BuildRequires: mozilla-nss-devel
BuildRequires: keyutils-devel
BuildRequires: libatomic-ops-devel
BuildRequires: fdupes
%else
Requires: gdisk
BuildRequires: nss-devel
Expand Down Expand Up @@ -518,12 +517,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

Expand Down

0 comments on commit cdde626

Please sign in to comment.