rpms/eventlog/FC-6 eventlog.spec,1.4,1.5
Jose Pedro Oliveira (jpo)
fedora-extras-commits at redhat.com
Sun Feb 25 01:38:10 UTC 2007
- Previous message (by thread): rpms/xfce4-wavelan-plugin/devel .cvsignore, 1.3, 1.4 sources, 1.3, 1.4 xfce4-wavelan-plugin.spec, 1.6, 1.7
- Next message (by thread): rpms/xfce4-wavelan-plugin/FC-6 .cvsignore, 1.3, 1.4 sources, 1.3, 1.4 xfce4-wavelan-plugin.spec, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jpo
Update of /cvs/extras/rpms/eventlog/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19213
Modified Files:
eventlog.spec
Log Message:
Install the dynamic library in /lib.
Index: eventlog.spec
===================================================================
RCS file: /cvs/extras/rpms/eventlog/FC-6/eventlog.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- eventlog.spec 10 Feb 2007 19:35:13 -0000 1.4
+++ eventlog.spec 25 Feb 2007 01:37:38 -0000 1.5
@@ -1,6 +1,8 @@
+%define libdir /%{_lib}
+
Name: eventlog
Version: 0.2.5
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Syslog-ng v2 support library
Group: System Environment/Libraries
@@ -58,6 +60,14 @@
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
+# we build into /usr/lib,
+# but we want the library (but not the devel stuff) in /lib
+install -d -m 755 $RPM_BUILD_ROOT/%{_lib}
+pushd $RPM_BUILD_ROOT%{_libdir}
+mv libevtlog.so.* ../../%{_lib}
+ln -sf ../../%{_lib}/libevtlog.so.*.* libevtlog.so
+popd
+
rm -f $RPM_BUILD_ROOT%{_libdir}/libevtlog.la
%clean
@@ -72,8 +82,8 @@
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING CREDITS NEWS README
-%{_libdir}/libevtlog.so.0
-%{_libdir}/libevtlog.so.0.0.0
+%{libdir}/libevtlog.so.0
+%{libdir}/libevtlog.so.0.0.0
%files devel
%defattr(-,root,root,-)
@@ -88,10 +98,13 @@
%changelog
+* Sun Feb 25 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.2.5-4
+- Install the dynamic library in /lib.
+
* Sat Feb 10 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.2.5-3
- Create a -static subpackage.
-* Thu Oct 05 2006 Christian Iseli <Christian.Iseli at licr.org> 0.2.5-2
+* Thu Oct 05 2006 Christian Iseli <Christian.Iseli at licr.org> - 0.2.5-2
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
* Sun Jul 16 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.2.5-1
- Previous message (by thread): rpms/xfce4-wavelan-plugin/devel .cvsignore, 1.3, 1.4 sources, 1.3, 1.4 xfce4-wavelan-plugin.spec, 1.6, 1.7
- Next message (by thread): rpms/xfce4-wavelan-plugin/FC-6 .cvsignore, 1.3, 1.4 sources, 1.3, 1.4 xfce4-wavelan-plugin.spec, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list