14 Nov
2010
14 Nov
'10
16:47
* Sascha 'saigkill' Manns
Hello Mates,
i have a short Question about chmod.
I've a tar.bz2. Inside that folder, i can find the binary under program/
Now i tried the following to make it executable:
%install # install binary find %{buildroot} -name %{name} -type f -print0 | xargs -0 chmod 755 %__install -d ${RPM_BUILD_ROOT}%{_bindir} %__install program/%{name} ${RPM_BUILD_ROOT}%{_bindir}
You can simply replace all of the above with %__install -D -p -m 755 program/%{name} %{buildroot}%{_bindir}/%{name} -- Guido Berhoerster -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org