diff --git a/libtirpc.changes b/libtirpc.changes index 2965f27..8b22135 100644 --- a/libtirpc.changes +++ b/libtirpc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 13 21:32:42 CET 2009 - crrodriguez@suse.de + +- fix -devel package dependencies + ------------------------------------------------------------------- Mon Nov 17 16:20:57 CET 2008 - mkoenig@suse.de diff --git a/libtirpc.spec b/libtirpc.spec index 70a2711..ccc7975 100644 --- a/libtirpc.spec +++ b/libtirpc.spec @@ -1,7 +1,7 @@ # # spec file for package libtirpc (Version 0.1.9) # -# 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 @@ -24,7 +24,7 @@ License: Other uncritical OpenSource License; Sun Industry Standards Sour Group: System/Libraries AutoReqProv: on Version: 0.1.9 -Release: 4 +Release: 5 Summary: Transport Independent RPC Library Url: http://nfsv4.bullopensource.org/doc/tirpc_rpcbind.php Source: %{name}-%{version}.tar.bz2 @@ -81,7 +81,7 @@ Authors: License: Other uncritical OpenSource License; Sun Industry Standards Source License 1.0 Summary: Transport Independent RPC Library Group: Development/Libraries/C and C++ -Requires: libtirpc1 = %{version} +Requires: libtirpc1 = %{version} glibc-devel %description devel The Transport Independent RPC library (TI-RPC) is a replacement for the @@ -97,7 +97,7 @@ Authors: Antoine Fraticelli %prep -%setup +%setup -q %patch1 -p1 %patch2 -p1 %patch3 -p1 @@ -114,32 +114,24 @@ Authors: %build autoreconf -fi -./configure --prefix=%{_prefix} \ - --libdir=/%{_lib} \ - --sysconfdir=%{_sysconfdir} \ - --disable-static \ - --enable-gss \ - CFLAGS="$RPM_OPT_FLAGS" -make +%configure --disable-static --with-pic --libdir=/%{_lib} --enable-gss +%{__make} %{?jobs:-j%jobs} %install make install DESTDIR=$RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT/%{_lib}/libtirpc.la # move devel so link to %{_libdir} -rm -f $RPM_BUILD_ROOT/%{_lib}/libtirpc.so mkdir -p $RPM_BUILD_ROOT%{_libdir} -ln -s /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libtirpc.so.?.?.?) \ - $RPM_BUILD_ROOT%{_libdir}/libtirpc.so +%{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/%{name}.so) %{buildroot}%{_libdir}/%{name}.so +%{__rm} -v %{buildroot}/%{_lib}/%{name}.so mv $RPM_BUILD_ROOT/%{_lib}/pkgconfig $RPM_BUILD_ROOT/%{_libdir} %clean rm -rf $RPM_BUILD_ROOT -%post -n libtirpc1 -/sbin/ldconfig +%post -n libtirpc1 -p /sbin/ldconfig -%postun -n libtirpc1 -/sbin/ldconfig +%postun -n libtirpc1 -p /sbin/ldconfig %files -n libtirpc1 %defattr(-,root,root) @@ -156,6 +148,8 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Fri Mar 13 2009 crrodriguez@suse.de +- fix -devel package dependencies * Mon Nov 17 2008 mkoenig@suse.de - Fix a bug in clnt broadcast and handle misformed rpcbind replies [bnc#436038]