SHA256
1
0
forked from pool/libtirpc

Updating link to change in openSUSE:Factory/libtirpc revision 22.0

OBS-URL: https://build.opensuse.org/package/show/Base:System/libtirpc?expand=0&rev=f891331eeb58494292370ddd893a1bf5
This commit is contained in:
OBS User buildservice-autocommit 2011-07-07 12:11:09 +00:00 committed by Git OBS Bridge
parent b68a729343
commit 1a90adc578

View File

@ -24,7 +24,7 @@ License: Other uncritical OpenSource License;BSD 3-Clause
Group: System/Libraries Group: System/Libraries
AutoReqProv: on AutoReqProv: on
Version: 0.2.2 Version: 0.2.2
Release: 9 Release: 1
Summary: Transport Independent RPC Library Summary: Transport Independent RPC Library
Url: http://sourceforge.net/projects/libtirpc/ Url: http://sourceforge.net/projects/libtirpc/
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
@ -37,7 +37,6 @@ Patch35: libtirpc-revert-des_crypt.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define debug_package_requires libtirpc1 = %{version}-%{release} %define debug_package_requires libtirpc1 = %{version}-%{release}
%description %description
The Transport Independent RPC library (TI-RPC) is a replacement for the The Transport Independent RPC library (TI-RPC) is a replacement for the
standard SunRPC library in glibc which does not support IPv6 addresses. standard SunRPC library in glibc which does not support IPv6 addresses.
@ -56,7 +55,6 @@ License: Other uncritical OpenSource License ; Sun Industry Standards Sou
Summary: Transport Independent RPC Library Summary: Transport Independent RPC Library
Group: System/Libraries Group: System/Libraries
%description -n libtirpc1 %description -n libtirpc1
The Transport Independent RPC library (TI-RPC) is a replacement for the The Transport Independent RPC library (TI-RPC) is a replacement for the
standard SunRPC library in glibc which does not support IPv6 addresses. standard SunRPC library in glibc which does not support IPv6 addresses.
@ -76,7 +74,6 @@ Summary: Transport Independent RPC Library
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libtirpc1 = %{version} glibc-devel 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
standard SunRPC library in glibc which does not support IPv6 addresses. standard SunRPC library in glibc which does not support IPv6 addresses.
@ -99,13 +96,11 @@ Authors:
%patch34 -p1 %patch34 -p1
%patch35 -p1 %patch35 -p1
%build %build
autoreconf -fiv autoreconf -fiv
%configure --disable-static --with-pic --libdir=/%{_lib} --enable-gss %configure --disable-static --with-pic --libdir=/%{_lib} --enable-gss
%{__make} %{?_smp_mflags} %{__make} %{?_smp_mflags}
%install %install
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
# move devel so link to %{_libdir} # move devel so link to %{_libdir}
@ -114,24 +109,19 @@ mkdir -p $RPM_BUILD_ROOT%{_libdir}
%{__rm} -v %{buildroot}/%{_lib}/%{name}.{la,so} %{__rm} -v %{buildroot}/%{_lib}/%{name}.{la,so}
mv -v $RPM_BUILD_ROOT/%{_lib}/pkgconfig $RPM_BUILD_ROOT/%{_libdir} mv -v $RPM_BUILD_ROOT/%{_lib}/pkgconfig $RPM_BUILD_ROOT/%{_libdir}
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%post -n libtirpc1 -p /sbin/ldconfig %post -n libtirpc1 -p /sbin/ldconfig
%postun -n libtirpc1 -p /sbin/ldconfig %postun -n libtirpc1 -p /sbin/ldconfig
%files -n libtirpc1 %files -n libtirpc1
%defattr(-,root,root) %defattr(-,root,root)
%config %{_sysconfdir}/netconfig %config %{_sysconfdir}/netconfig
/%{_lib}/libtirpc.so.1* /%{_lib}/libtirpc.so.1*
%{_mandir}/man5/netconfig.5.gz %{_mandir}/man5/netconfig.5.gz
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libtirpc.so %{_libdir}/libtirpc.so
@ -140,6 +130,4 @@ rm -rf $RPM_BUILD_ROOT
/usr/%{_lib}/pkgconfig/* /usr/%{_lib}/pkgconfig/*
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog