forked from pool/libtirpc
Accepting request 849707 from Base:System
OBS-URL: https://build.opensuse.org/request/show/849707 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtirpc?expand=0&rev=55
This commit is contained in:
commit
8afe53d8e1
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 29 10:45:54 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
|
||||||
|
|
||||||
|
- install libraries to %{_libdir} (boo#1029961)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 15 10:32:08 UTC 2020 - Petr Vorel <pvorel@suse.cz>
|
Wed Apr 15 10:32:08 UTC 2020 - Petr Vorel <pvorel@suse.cz>
|
||||||
|
|
||||||
|
@ -75,8 +75,7 @@ TCP over IPv4.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
sed -i -e 's|@includedir@/tirpc|@includedir@|g' libtirpc.pc.in
|
sed -i -e 's|@includedir@/tirpc|@includedir@|g' libtirpc.pc.in
|
||||||
%configure --disable-static \
|
%configure --disable-static
|
||||||
--libdir=/%{_lib}
|
|
||||||
%make_build %{?_smp_mflags}
|
%make_build %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -87,9 +86,7 @@ export NO_BRP_CHECK_ROOTFS=true
|
|||||||
%make_install
|
%make_install
|
||||||
# move devel so link to _libdir
|
# move devel so link to _libdir
|
||||||
mkdir -p %{buildroot}/%{_libdir}
|
mkdir -p %{buildroot}/%{_libdir}
|
||||||
ln -sv /%{_lib}/$(readlink %{buildroot}/%{_lib}/%{name}.so) %{buildroot}%{_libdir}/%{name}.so
|
rm -v %{buildroot}%{_libdir}/%{name}.la
|
||||||
rm -v %{buildroot}/%{_lib}/%{name}.{la,so}
|
|
||||||
mv -v %{buildroot}/%{_lib}/pkgconfig %{buildroot}/%{_libdir}
|
|
||||||
# Move RPC headers from tirpc subdirectory into main directory,
|
# Move RPC headers from tirpc subdirectory into main directory,
|
||||||
# they are now default
|
# they are now default
|
||||||
mv -v %{buildroot}%{_includedir}/tirpc/* %{buildroot}%{_includedir}
|
mv -v %{buildroot}%{_includedir}/tirpc/* %{buildroot}%{_includedir}
|
||||||
@ -103,7 +100,7 @@ rm -v %{buildroot}/etc/bindresvport.blacklist
|
|||||||
%files -n libtirpc3
|
%files -n libtirpc3
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%license COPYING
|
%license COPYING
|
||||||
/%{_lib}/libtirpc.so.3*
|
%{_libdir}/libtirpc.so.3*
|
||||||
|
|
||||||
%files netconfig
|
%files netconfig
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -114,7 +111,7 @@ rm -v %{buildroot}/etc/bindresvport.blacklist
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libtirpc.so
|
%{_libdir}/libtirpc.so
|
||||||
/usr/include/*
|
/usr/include/*
|
||||||
/usr/%{_lib}/pkgconfig/*
|
%{_libdir}/pkgconfig/*
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user