<div dir="ltr">Hi,<div>I'm trying to build a rpm for openssl-1.0.1u on CentOS 7 x86_64.  To get the rpmbuild to run, I had to remove several comments in changelog, because they weren't formatted correctly. The second problem I ran into is one during the rpm staging:</div><div><br></div><div>The tail end of the output from rpmbuild -ba openssl.spec is:</div><div><br></div><div><div>+ cp -pr README /root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/share/doc/openssl-1.0.1u</div><div>+ exit 0</div><div><br></div><div><br></div><div>RPM build errors:</div><div>    Explicit %attr() mode not applicaple to symlink: /root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/bin/ssleay</div><div>    File not found by glob: /root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/lib/*.so*</div><div>    Explicit %attr() mode not applicaple to symlink: /root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/dss1.1ssl.gz</div><div>    Explicit %attr() mode not applicaple to symlink: /root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/md2.1ssl.gz</div><div>    Explicit %attr() mode not applicaple to symlink: /root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/md4.1ssl.gz</div><div>    Explicit %attr() mode not applicaple to symlink: /root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/md5.1ssl.gz</div><div>    Explicit %attr() mode not applicaple to symlink: /root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/mdc2.1ssl.gz</div><div>    Explicit %attr() mode not applicaple to symlink: /root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/ripemd160.1ssl.gz</div><div>    Explicit %attr() mode not applicaple to symlink: /root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/sha.1ssl.gz</div><div>    Explicit %attr() mode not applicaple to symlink: /root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/sha1.1ssl.gz</div><div>    Explicit %attr() mode not applicaple to symlink: /root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/sha224.1ssl.gz</div><div>    Explicit %attr() mode not applicaple to symlink: /root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/sha256.1ssl.gz</div><div>    Explicit %attr() mode not applicaple to symlink: /root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/sha384.1ssl.gz</div><div>    Explicit %attr() mode not applicaple to symlink: /root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/sha512.1ssl.gz</div></div><div><br></div><div>I'm assuming its related to this line in the openssl.spec file?</div><div><br></div><div>







<p class="gmail-p1"><span class="gmail-s1"># Make backwards-compatibility symlink to ssleay</span></p>
<p class="gmail-p1"><span class="gmail-s1">ln -sf /usr/bin/openssl $RPM_BUILD_ROOT/usr/bin/ssleay</span></p><p class="gmail-p1"><span class="gmail-s1"><br></span></p><p class="gmail-p1"><span class="gmail-s1">Has anyone else ran into this problem?</span></p><p class="gmail-p1"><span class="gmail-s1"><br></span></p><p class="gmail-p1"><span class="gmail-s1">Thanks!</span></p></div><div><br></div></div>