Accepting request 565923 from home:kukuk:branches:Base:System

- Move /usr/include/tirpc to /usr/include

OBS-URL: https://build.opensuse.org/request/show/565923
OBS-URL: https://build.opensuse.org/package/show/Base:System/libtirpc?expand=0&rev=66
This commit is contained in:
Dirk Mueller 2018-01-23 11:08:20 +00:00 committed by Git OBS Bridge
parent b800fde03c
commit 577bbc8a6e
2 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jan 15 16:59:02 CET 2018 - kukuk@suse.de
- Move /usr/include/tirpc to /usr/include
-------------------------------------------------------------------
Mon Nov 27 14:30:05 CET 2017 - kukuk@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package libtirpc
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -119,6 +119,10 @@ 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}
# Move RPC headers from tirpc subdirectory into main directory,
# they are now default
mv -v %{buildroot}%{_includedir}/tirpc/* %{buildroot}%{_includedir}
rmdir %{buildroot}%{_includedir}/tirpc
%post -n libtirpc3 -p /sbin/ldconfig
@ -137,8 +141,7 @@ mv -v %{buildroot}/%{_lib}/pkgconfig %{buildroot}/%{_libdir}
%files devel
%defattr(-,root,root)
%{_libdir}/libtirpc.so
%dir /usr/include/tirpc/
/usr/include/tirpc/*
/usr/include/*
/usr/%{_lib}/pkgconfig/*
%{_mandir}/man3/*