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

Bug #1249215 reported by Sergio Souza
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gearman
New
Undecided
Unassigned

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
to
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.