Link with needed libraries (sqlite, rtas, rtasevent)
This commit is contained in:
parent
79410dff49
commit
e834919e85
12
libservicelog-1.1.9-libs.patch
Normal file
12
libservicelog-1.1.9-libs.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up libservicelog-1.1/src/Makefile.am.libs libservicelog-1.1/src/Makefile.am
|
||||
--- libservicelog-1.1/src/Makefile.am.libs 2010-05-17 13:24:46.297064301 -0400
|
||||
+++ libservicelog-1.1/src/Makefile.am 2010-05-17 13:26:07.737064638 -0400
|
||||
@@ -34,7 +34,7 @@ pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = servicelog-1.pc
|
||||
|
||||
libservicelog_la_LDFLAGS = -module -version-info \
|
||||
- @GENERIC_API_VERSION@ -release @GENERIC_RELEASE@
|
||||
+ @GENERIC_API_VERSION@ -release @GENERIC_RELEASE@ $(AM_LDFLAGS)
|
||||
|
||||
AM_CFLAGS = -Wall -g -DDEST_DIR='"${exec_prefix}"'
|
||||
AM_LDFLAGS = -lsqlite3 -lrtas -lrtasevent
|
@ -1,6 +1,6 @@
|
||||
Name: libservicelog
|
||||
Version: 1.1.9
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Servicelog Database and Library
|
||||
|
||||
Group: System Environment/Libraries
|
||||
@ -23,6 +23,9 @@ Patch0: libservicelog-1.1.9-install.patch
|
||||
# Added missing include
|
||||
Patch1: libservicelog-1.1.9-include.patch
|
||||
|
||||
# Link with needed libraries
|
||||
Patch2: libservicelog-1.1.9-libs.patch
|
||||
|
||||
%description
|
||||
The libservicelog package contains a library to create and maintain a
|
||||
database for storing events related to system service. This database
|
||||
@ -44,6 +47,7 @@ Contains header files for building with libservicelog.
|
||||
%setup -q -n %{name}-1.1
|
||||
%patch0 -p1 -b .install
|
||||
%patch1 -p1 -b .include
|
||||
%patch2 -p1 -b .libs
|
||||
|
||||
%build
|
||||
autoreconf -fiv
|
||||
@ -72,17 +76,20 @@ getent group service >/dev/null || /usr/sbin/groupadd service
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING NEWS AUTHORS
|
||||
%{_libdir}/libservicelog-*.so.*
|
||||
%{_libdir}/*.so
|
||||
%attr( 754, root, service ) %dir /var/lib/servicelog/servicelog.db
|
||||
%dir /var/lib/servicelog
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/servicelog-1
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/servicelog-1.pc
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue May 18 2010 Roman Rakus <rrakus@redhat.com> - 1.1.9-2
|
||||
- Link with needed libraries (sqlite, rtas, rtasevent)
|
||||
|
||||
* Tue May 11 2010 Roman Rakus <rrakus@redhat.com> - 1.1.9-1
|
||||
- Update to 1.1.9
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user