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