Mailinglist Archive: opensuse-commit (1117 mails)
| < Previous | Next > |
commit libevtlog for openSUSE:Factory
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Fri, 06 Feb 2009 17:13:11 +0100
- Message-id: <20090206161312.25BB16780B0@xxxxxxxxxxxxxxx>
Hello community,
here is the log from the commit of package libevtlog for openSUSE:Factory
checked in at Fri Feb 6 17:13:11 CET 2009.
--------
--- libevtlog/libevtlog.changes 2008-10-22 16:20:23.000000000 +0200
+++ libevtlog/libevtlog.changes 2009-02-04 04:11:37.000000000 +0100
@@ -1,0 +2,7 @@
+Wed Feb 4 04:11:01 CET 2009 - crrodriguez@xxxxxxx
+
+- move shared libraries to /%{_lib} so syslog-ng can use them
+- remove static libraries
+- remove "la" files
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libevtlog.spec ++++++
--- /var/tmp/diff_new_pack.Q11909/_old 2009-02-06 17:11:35.000000000 +0100
+++ /var/tmp/diff_new_pack.Q11909/_new 2009-02-06 17:11:35.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package libevtlog (Version 0.2.7)
#
-# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
Name: libevtlog
Version: 0.2.7
-Release: 4
+Release: 5
License: BSD 3-Clause
Group: System/Daemons
Summary: Syslog-ng event logger library source
@@ -95,7 +95,7 @@
License: BSD 3-Clause
Summary: Syslog-ng event logger library development files
Group: System/Daemons
-Requires: %{name}0 = %{version}
+Requires: %{name}0 = %{version} glibc-devel
%description devel
The EventLog library aims to be a replacement of the simple syslog()
@@ -128,7 +128,6 @@
##
## build ####################################################
##
-export CFLAGS="$RPM_OPT_FLAGS"
#
# - update configure scripts & tools:
#
@@ -139,8 +138,8 @@
#autoheader
#autoconf
##
-%configure
-make %_smp_mflags
+%configure --libdir=/%{_lib} --disable-static --with-pic
+%{__make} %{?jobs:-j%jobs}
%check
##
@@ -152,16 +151,18 @@
##
## install ##################################################
##
-export RPM_BUILD_ROOT
make DESTDIR=${RPM_BUILD_ROOT} install
+rm -vf %{buildroot}/%{_lib}/%{name}.la
+%{__install} -d -m 0755 %{buildroot}%{_libdir}/pkgconfig
+%{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/%{name}.so)
%{buildroot}%{_libdir}/%{name}.so
+%{__rm} -v %{buildroot}/%{_lib}/%{name}.so
+%{__mv} -v %{buildroot}/%{_lib}/pkgconfig/eventlog.pc
%{buildroot}%{_libdir}/pkgconfig
%clean
##
## clean build root #########################################
##
-if [ "$RPM_BUILD_ROOT" != "" ] && [ -d $RPM_BUILD_ROOT ] ; then
- rm -rf $RPM_BUILD_ROOT
-fi
+rm -rf $RPM_BUILD_ROOT
%post -n libevtlog0 -p /sbin/ldconfig
@@ -169,7 +170,7 @@
%files -n libevtlog0
%defattr(-,root,root)
-%_libdir/libevtlog*.so.0*
+/%_lib/libevtlog*.so.0*
%files devel
%defattr(-,root,root)
@@ -177,12 +178,14 @@
%doc ChangeLog doc/*.txt
%dir %_includedir/eventlog
%_includedir/eventlog/*.h
-%_libdir/libevtlog*.a
-%_libdir/libevtlog*.la
%_libdir/libevtlog*.so
%_libdir/pkgconfig/eventlog.pc
%changelog
+* Wed Feb 04 2009 crrodriguez@xxxxxxx
+- move shared libraries to /%%{_lib} so syslog-ng can use them
+- remove static libraries
+- remove "la" files
* Wed Oct 22 2008 mrueckert@xxxxxxx
- fix debug_packages_requires define
* Fri Aug 01 2008 ro@xxxxxxx
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |