centos 5 обновить libevent до версии 2.0. Centos update libevent to 2.0

yum install redhat-rpm-config rpm-build libtool gcc autoconf doxygen automake openssl-devel
useradd mockbuild
su — mockbuild

cat /home/mockbuild/.rpmmacros
%packager Your Name
%vendor Your Orgnazation
%_topdir /home/mockbuild/rpm

%_signature gpg
%_gpg_name Your Packaging Dept
%_gpg_path /home/mockbuild/.gnupg
%dist build_id

wget http://downloads.sourceforge.net/project/levent/libevent/libevent-2.0/libevent-2.0.10-stable.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Flevent%2Ffiles%2Flibevent%2Flibevent-2.0%2F&ts=1330943339&use_mirror=netcologne
mv libevent-2.0.10-stable.tar.gz rpm/SOURCES/
rpmbuild -bb rpm/SPECS/libevent2010.spec

cd /home/mockbuild/rpm/RPMS/i386/
rpm -Uvh libevent-2.0.10-11.i386.rpm libevent-devel-2.0.10-11.i386.rpm

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>