packages: libevent/libevent.spec - rel 2 - moved libevent to / for NFS idmapd

baggins baggins at pld-linux.org
Wed Jan 18 22:28:58 CET 2012


Author: baggins                      Date: Wed Jan 18 21:28:58 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 2
- moved libevent to / for NFS idmapd

---- Files affected:
packages/libevent:
   libevent.spec (1.48 -> 1.49) 

---- Diffs:

================================================================
Index: packages/libevent/libevent.spec
diff -u packages/libevent/libevent.spec:1.48 packages/libevent/libevent.spec:1.49
--- packages/libevent/libevent.spec:1.48	Sat Oct  1 07:30:43 2011
+++ packages/libevent/libevent.spec	Wed Jan 18 22:28:53 2012
@@ -8,7 +8,7 @@
 Summary(pl.UTF-8):	libevent - biblioteka powiadamiająca o zdarzeniach
 Name:		libevent
 Version:	2.0.14
-Release:	1
+Release:	2
 License:	BSD
 Group:		Libraries
 Source0:	https://github.com/downloads/libevent/libevent/%{name}-%{version}-stable.tar.gz
@@ -78,10 +78,15 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/%{_lib}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+mv -f $RPM_BUILD_ROOT%{_libdir}/libevent-2.0.so.* $RPM_BUILD_ROOT/%{_lib}
+ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libevent-2.0.so.*.*.*) \
+	$RPM_BUILD_ROOT%{_libdir}/libevent.so
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -91,8 +96,8 @@
 %files
 %defattr(644,root,root,755)
 %doc ChangeLog LICENSE README
-%attr(755,root,root) %{_libdir}/libevent-2.0.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libevent-2.0.so.5
+%attr(755,root,root) /%{_lib}/libevent-2.0.so.*.*.*
+%attr(755,root,root) %ghost /%{_lib}/libevent-2.0.so.5
 %attr(755,root,root) %{_libdir}/libevent_core-2.0.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libevent_core-2.0.so.5
 %attr(755,root,root) %{_libdir}/libevent_extra-2.0.so.*.*.*
@@ -145,6 +150,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.49  2012/01/18 21:28:53  baggins
+- rel 2
+- moved libevent to / for NFS idmapd
+
 Revision 1.48  2011/10/01 05:30:43  qboosh
 - updated event_rpcgen todo
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libevent/libevent.spec?r1=1.48&r2=1.49&f=u



More information about the pld-cvs-commit mailing list