yuokada / gohcs

MIT License
0 stars 0 forks source link

don't work well in some Env. #7

Closed yuokada closed 7 years ago

yuokada commented 7 years ago

ref: Golang で書いた何かを RPM パッケージにして yum install したい · m0t0k1ch1st0ry

rewrite like this.

%install
%{__rm} -rf %{buildroot}
%{__install} -Dp -m0755 %{SOURCE0} %{buildroot}/usr/local/bin/%{name}
%{__install} -Dp -m0755 %{SOURCE1} %{buildroot}/%{_initrddir}/%{name}