diff --git a/libdaemon.changes b/libdaemon.changes index c1e8c89..18beaf9 100644 --- a/libdaemon.changes +++ b/libdaemon.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 4 02:58:54 CET 2009 - crrodriguez@suse.de + +- move shared libraries to /%{_lib} so ifplugd can use them +- remove static libraries again + ------------------------------------------------------------------- Tue Jan 27 17:57:08 CET 2009 - seife@suse.de diff --git a/libdaemon.spec b/libdaemon.spec index 69d3a5a..7decf1e 100644 --- a/libdaemon.spec +++ b/libdaemon.spec @@ -22,7 +22,7 @@ Name: libdaemon BuildRequires: doxygen Url: http://0pointer.de/lennart/projects/libdaemon/ Version: 0.13 -Release: 2 +Release: 3 Summary: Lightweight C library That Eases the Writing of UNIX Daemons License: LGPL v2.1 or later Group: System/Libraries @@ -133,12 +133,16 @@ Authors: %build export CFLAGS="$RPM_OPT_FLAGS" -%configure --disable-lynx --with-pic -make +%configure --libdir=/%{_lib} --disable-lynx --disable-static --with-pic +%{__make} %{?jobs:-j%jobs} %install make install DESTDIR=$RPM_BUILD_ROOT -rm -f %{buildroot}%{_libdir}/libdaemon.la +rm -f %{buildroot}/%{_lib}/libdaemon.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/%{name}.pc %{buildroot}%{_libdir}/pkgconfig %clean rm -rf $RPM_BUILD_ROOT @@ -149,17 +153,19 @@ rm -rf $RPM_BUILD_ROOT %files -n libdaemon0 %defattr (-,root,root) -%{_libdir}/libdaemon.so.0* +/%{_lib}/libdaemon.so.0* %files devel %defattr (-,root,root) %{_libdir}/libdaemon.so -%{_libdir}/libdaemon.a %{_libdir}/pkgconfig/libdaemon.pc %dir %{_includedir}/libdaemon %{_includedir}/libdaemon/*.h %changelog +* Wed Feb 04 2009 crrodriguez@suse.de +- move shared libraries to /%%{_lib} so ifplugd can use them +- remove static libraries again * Tue Jan 27 2009 seife@suse.de - mark filedescritor as closed after closing it, preventing application errors in e.g. avahi (bnc#469342, bnc#442210)