Bug in Fedora package ceph-0.87-1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

There is a small bug in the Fedora package for ceph-0.87. Two days ago,
Boris Ranto built the first 0.87 package, for Fedora 22 (rawhide) [1].

[1] http://koji.fedoraproject.org/koji/buildinfo?buildID=589731

This build was a succes, so I took that package and built it for Fedora
20 (which is the current version), however that failed. The thing is,
apparently in Fedora the rbd-replay-prep binary is not built, but there
is a specific check for Fedora 20, which nontheless tries to include it
in the file list:

%if (0%{?fedora} == 20 || 0%{?rhel} == 6)
%{_mandir}/man8/rbd-replay-prep.8*
%{_bindir}/rbd-replay-prep
%endif

I really have no idea what this is supposed to accomplish. That binary
is not built, and that manpage is even explicitly deleted for that reason:

# do not package man page for binary that is not built
rm -f $RPM_BUILD_ROOT%{_mandir}/man8/rbd-replay-prep.8*

So it is quite obvious that in Fedora those two files do not exist. In
all other versions of Fedora than 20 this is no problem, but
specifically in Fedora 20 they are explicitly included in the file list,
which causes packaging to fail (obviously).

The easiest way to fix this is simply remove those four lines from %if
to %endif, so that this package behaves the same for Fedora 20 as for
all other versions of Fedora.

I haven't testes a build for rhel version 6, but that man page gets
deleted anyway on all rpm platforms, so this must fail for rhel 6 too.

Thanks,

Erik.
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux