Mailinglist Archive: opensuse-buildservice (111 mails)

< Previous Next >
Re: [opensuse-buildservice] About permission denined /usr/lib and /usr/include
Lars,

Same information as on IRC:

Quoting Lars Nielsen <lars@xxxxxxxxxxxxx>:

%setup
if [ ! -d %{buildroot}"/usr/local/lib/secret/"%{name}"_"%{version} ]
&& [ ! -d
%{buildroot}"/usr/local/include/secret/"%{name}"_"%{version} ]; then

Probably the weirdest case of quoting ever seen... :)

mkdir %{buildroot}/usr/local/lib/secret/%{name}_%{version}
mkdir %{buildroot}/usr/local/include/secret/%{name}_%{version}
echo %{name} " version: " %{version} "has been installed in the
secret library"

else
echo This version of ninja is already installed
fi

This does, factually seen, not belong to the %setup section but would
correctly seen be part of %install.

and later in install when I try to move my files there
˘
can anyone give me at least an idea on how to fix this ?

Can you now point at a .spec file?

Dominique
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
References