26 Nov
2014
26 Nov
'14
21:07
On Wed, Nov 26, 2014 at 5:27 AM, Tobias Lauterbach <tol@qosmotec.com> wrote:
%install cp helloWorldBin $RPM_BUILDROOT%{_bindir}/hello_world_1
In addition to the other comments, I always use "install", not "cp". This is from the tripwire spec file: install -m 700 bin/* $RPM_BUILD_ROOT/usr/sbin If you run it through spec-cleaner, it becomes: install -m 700 bin/* %{buildroot}%{_prefix}/sbin I try to run most of my spec files through spec-cleaner before I submit them to a devel project. Greg Greg -- Greg Freemyer -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org