Accepting request 580532 from Base:System

OBS-URL: https://build.opensuse.org/request/show/580532
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtirpc?expand=0&rev=47
This commit is contained in:
Dominique Leuenberger 2018-03-01 10:59:44 +00:00 committed by Git OBS Bridge
commit be42ef60b2
2 changed files with 17 additions and 4 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Feb 22 15:10:39 UTC 2018 - fvogt@suse.com
- Use %license (boo#1082318)
-------------------------------------------------------------------
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
@ -126,7 +130,7 @@ mv -v %{buildroot}/%{_lib}/pkgconfig %{buildroot}/%{_libdir}
%files -n libtirpc3
%defattr(-,root,root)
%doc COPYING COPYING.GPLv2
%license COPYING COPYING.GPLv2
/%{_lib}/libtirpc.so.3*
%files netconfig
@ -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/*