mirror of
https://abf.rosa.ru/djam/consul.git
synced 2025-02-23 16:32:49 +00:00
fix build, clean spec
This commit is contained in:
parent
61c3ce9ffc
commit
52e20bdf3f
1 changed files with 1 additions and 13 deletions
14
consul.spec
14
consul.spec
|
@ -48,23 +48,11 @@ A commercial version called Consul Enterprise is also available.
|
|||
%setup -q
|
||||
|
||||
%build
|
||||
#rm -rf $RPM_BUILD_DIR/%{name}-%{version}
|
||||
#install -d $RPM_BUILD_DIR/%{name}-%{version}
|
||||
#GOPATH=$RPM_BUILD_DIR/%{name}-%{version} go get -tags "v%{version}" %{getsource}
|
||||
#upx $RPM_BUILD_DIR/%{name}-%{version}/bin/%{name}
|
||||
%make
|
||||
|
||||
%make linux
|
||||
|
||||
%install
|
||||
#install -d %{buildroot}%{_bindir}
|
||||
#install -d %{buildroot}%{_docdir}/%{name}
|
||||
#install -Dm0755 $RPM_BUILD_DIR/%{name}-%{version}/bin/%{name} %{buildroot}%{_bindir}
|
||||
install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
|
||||
|
||||
#pushd $RPM_BUILD_DIR/%{name}-%{version}/src/%{getsource}
|
||||
#install -Dm0644 README.md LICENSE INTERNALS.md CHANGELOG.md %{buildroot}%{_docdir}/%{name}
|
||||
#popd
|
||||
|
||||
%files
|
||||
%doc README.md LICENSE
|
||||
%{_bindir}/%{name}
|
||||
|
|
Loading…
Add table
Reference in a new issue