Accepting request 849635 from home:lnussel:usrmove
- install libraries to %{_libdir} (boo#1029961) OBS-URL: https://build.opensuse.org/request/show/849635 OBS-URL: https://build.opensuse.org/package/show/Base:System/libtirpc?expand=0&rev=88
This commit is contained in:
parent
a371913c1a
commit
b61c8309a3
@ -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>
|
||||
|
||||
|
@ -75,8 +75,7 @@ TCP over IPv4.
|
||||
|
||||
%build
|
||||
sed -i -e 's|@includedir@/tirpc|@includedir@|g' libtirpc.pc.in
|
||||
%configure --disable-static \
|
||||
--libdir=/%{_lib}
|
||||
%configure --disable-static
|
||||
%make_build %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
@ -87,9 +86,7 @@ export NO_BRP_CHECK_ROOTFS=true
|
||||
%make_install
|
||||
# move devel so link to _libdir
|
||||
mkdir -p %{buildroot}/%{_libdir}
|
||||
ln -sv /%{_lib}/$(readlink %{buildroot}/%{_lib}/%{name}.so) %{buildroot}%{_libdir}/%{name}.so
|
||||
rm -v %{buildroot}/%{_lib}/%{name}.{la,so}
|
||||
mv -v %{buildroot}/%{_lib}/pkgconfig %{buildroot}/%{_libdir}
|
||||
rm -v %{buildroot}%{_libdir}/%{name}.la
|
||||
# Move RPC headers from tirpc subdirectory into main directory,
|
||||
# they are now default
|
||||
mv -v %{buildroot}%{_includedir}/tirpc/* %{buildroot}%{_includedir}
|
||||
@ -103,7 +100,7 @@ rm -v %{buildroot}/etc/bindresvport.blacklist
|
||||
%files -n libtirpc3
|
||||
%defattr(-,root,root)
|
||||
%license COPYING
|
||||
/%{_lib}/libtirpc.so.3*
|
||||
%{_libdir}/libtirpc.so.3*
|
||||
|
||||
%files netconfig
|
||||
%defattr(-,root,root)
|
||||
@ -114,7 +111,7 @@ rm -v %{buildroot}/etc/bindresvport.blacklist
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libtirpc.so
|
||||
/usr/include/*
|
||||
/usr/%{_lib}/pkgconfig/*
|
||||
%{_libdir}/pkgconfig/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user