Actions
Bug #5848
closedUser story #5690: Add a command line interface for Rudder agent
Fix rudder CLI installation in RPM package
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
From a RPM build on 3.0 branch:
02:11:35 RPM build errors: 02:11:35 + install -m 755 /usr/src/rudder-packages/package/SOURCES/rudder-perl/bin/rudder /var/tmp/rudder-agent-3.0.0.alpha1.git201411270158-1.EL.5-root-root/opt/rudder/bin/rudder 02:11:35 install: cannot stat `/usr/src/rudder-packages/package/SOURCES/rudder-perl/bin/rudder': Not a directory 02:11:35 error: Bad exit status from /var/tmp/rpm-tmp.18048 (%install) 02:11:35 Bad exit status from /var/tmp/rpm-tmp.18048 (%install) 02:11:36 make: *** [buildpackage-rpm-build-rpmbuild] Error 1
This comes from an error in the .spec file:
Source11: rudder-perl Source12: rudder-agent-utilities ... # Rudder agent utilities %{install_command} -m 755 %{SOURCE11}/bin/rudder %{buildroot}%{rudderdir}/bin/rudder
This is using the wrong source - should be SOURCE12, not SOURCE11.
Actions