diff --git a/eventlog.spec b/eventlog.spec index 5282513..6204dee 100644 --- a/eventlog.spec +++ b/eventlog.spec @@ -1,5 +1,3 @@ -%define libdir /%{_lib} - Name: eventlog Version: 0.2.12 Release: 1%{?dist} @@ -14,6 +12,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig +Conflicts: filesystem < 3 %description The EventLog library aims to be a replacement of the simple syslog() API @@ -74,17 +73,8 @@ make %{?_smp_mflags} rm -rf %{buildroot} make DESTDIR=%{buildroot} install -# we build into /usr/lib, -# but we want the library (but not the devel stuff) in /lib -install -d -m 755 %{buildroot}/%{libdir} -pushd %{buildroot}%{_libdir} -mv libevtlog.so.* %{buildroot}/%{libdir} -ln -sf ../../%{_lib}/libevtlog.so.*.* libevtlog.so -popd - rm -f %{buildroot}%{_libdir}/libevtlog.la - %clean rm -rf %{buildroot} @@ -97,7 +87,7 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING CREDITS NEWS README -%{libdir}/libevtlog.so.* +%{_libdir}/libevtlog.so.* %files devel %defattr(-,root,root,-)