Mailinglist Archive: opensuse-buildservice (153 mails)

< Previous Next >
Re: [opensuse-buildservice] Build C++ Files for different distributions
On Wed, Nov 26, 2014 at 5:27 AM, Tobias Lauterbach <tol@xxxxxxxxxxxx> 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@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
References