RPM build error - SOURCES/gearmand.init: No such file or directory

Bug #1249215 reported by Sergio Souza on 2013-11-08
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

I use mock to build gearmand-1.1.11r pm package and I got

RPM build errors:
    Bad file: /builddir/build/SOURCES/gearmand.init: No such file or directory

To fix this I have some changes in spec file

Remove line:
Source1: support/gearmand.init


Change line
install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/gearmand
install -m 755 support/gearmand.init $RPM_BUILD_ROOT/etc/rc.d/init.d/gearmand

This resolves the issue.

Please change spec file to avoid this error.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers