More RPM fixes.

This commit is contained in:
Adam Ierymenko 2016-06-27 15:08:51 -07:00
parent 2c9401ed74
commit 2d19fb7f8c
3 changed files with 4 additions and 3 deletions

View File

@ -8,4 +8,6 @@ RUN yum install -y clang
RUN yum install -y gcc-c++
RUN yum install -y tar
RUN yum install -y nodejs npm
ADD zt1-src.tar.gz /

View File

@ -8,4 +8,6 @@ RUN yum install -y clang
RUN yum install -y gcc-c++
RUN yum install -y tar
RUN yum install -y nodejs npm
ADD zt1-src.tar.gz /

View File

@ -89,7 +89,6 @@ chmod 0755 $RPM_BUILD_ROOT/etc/init.d/zerotier-one
%files
%{_sbindir}/*
%{_bindir}/*
%{_mandir}/*
%{_localstatedir}/*
%if 0%{?rhel} >= 7
@ -101,8 +100,6 @@ chmod 0755 $RPM_BUILD_ROOT/etc/init.d/zerotier-one
%if 0%{?rhel} <= 6
/etc/init.d/zerotier-one
%endif
%doc AUTHORS.md README.md
%license LICENSE.GPL-3
%post
%if 0%{?rhel} >= 7