Browse Source

More RPM fixes.

Adam Ierymenko 9 years ago
parent
commit
2d19fb7f8c

+ 2 - 0
linux-build-farm/centos-6/x64/Dockerfile

@@ -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 /

+ 2 - 0
linux-build-farm/centos-6/x86/Dockerfile

@@ -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 /

+ 0 - 3
zerotier-one.spec

@@ -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