This commit is contained in:
parent
1a37a695af
commit
a4b0344173
@ -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
|
Mon Nov 17 16:20:57 CET 2008 - mkoenig@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libtirpc (Version 0.1.9)
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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
|
Group: System/Libraries
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Version: 0.1.9
|
Version: 0.1.9
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: Transport Independent RPC Library
|
Summary: Transport Independent RPC Library
|
||||||
Url: http://nfsv4.bullopensource.org/doc/tirpc_rpcbind.php
|
Url: http://nfsv4.bullopensource.org/doc/tirpc_rpcbind.php
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
@ -81,7 +81,7 @@ Authors:
|
|||||||
License: Other uncritical OpenSource License; Sun Industry Standards Source License 1.0
|
License: Other uncritical OpenSource License; Sun Industry Standards Source License 1.0
|
||||||
Summary: Transport Independent RPC Library
|
Summary: Transport Independent RPC Library
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libtirpc1 = %{version}
|
Requires: libtirpc1 = %{version} glibc-devel
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The Transport Independent RPC library (TI-RPC) is a replacement for the
|
The Transport Independent RPC library (TI-RPC) is a replacement for the
|
||||||
@ -97,7 +97,7 @@ Authors:
|
|||||||
Antoine Fraticelli <antoine.fraticelli@bull.net>
|
Antoine Fraticelli <antoine.fraticelli@bull.net>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup
|
%setup -q
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
@ -114,32 +114,24 @@ Authors:
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
./configure --prefix=%{_prefix} \
|
%configure --disable-static --with-pic --libdir=/%{_lib} --enable-gss
|
||||||
--libdir=/%{_lib} \
|
%{__make} %{?jobs:-j%jobs}
|
||||||
--sysconfdir=%{_sysconfdir} \
|
|
||||||
--disable-static \
|
|
||||||
--enable-gss \
|
|
||||||
CFLAGS="$RPM_OPT_FLAGS"
|
|
||||||
make
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
rm -f $RPM_BUILD_ROOT/%{_lib}/libtirpc.la
|
rm -f $RPM_BUILD_ROOT/%{_lib}/libtirpc.la
|
||||||
# move devel so link to %{_libdir}
|
# move devel so link to %{_libdir}
|
||||||
rm -f $RPM_BUILD_ROOT/%{_lib}/libtirpc.so
|
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}
|
||||||
ln -s /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libtirpc.so.?.?.?) \
|
%{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/%{name}.so) %{buildroot}%{_libdir}/%{name}.so
|
||||||
$RPM_BUILD_ROOT%{_libdir}/libtirpc.so
|
%{__rm} -v %{buildroot}/%{_lib}/%{name}.so
|
||||||
mv $RPM_BUILD_ROOT/%{_lib}/pkgconfig $RPM_BUILD_ROOT/%{_libdir}
|
mv $RPM_BUILD_ROOT/%{_lib}/pkgconfig $RPM_BUILD_ROOT/%{_libdir}
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post -n libtirpc1
|
%post -n libtirpc1 -p /sbin/ldconfig
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -n libtirpc1
|
%postun -n libtirpc1 -p /sbin/ldconfig
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
%files -n libtirpc1
|
%files -n libtirpc1
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -156,6 +148,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 13 2009 crrodriguez@suse.de
|
||||||
|
- fix -devel package dependencies
|
||||||
* Mon Nov 17 2008 mkoenig@suse.de
|
* Mon Nov 17 2008 mkoenig@suse.de
|
||||||
- Fix a bug in clnt broadcast and handle misformed rpcbind replies
|
- Fix a bug in clnt broadcast and handle misformed rpcbind replies
|
||||||
[bnc#436038]
|
[bnc#436038]
|
||||||
|
Loading…
Reference in New Issue
Block a user