Hello community,

here is the log from the commit of package libnsl for openSUSE:Factory checked 
in at 2017-09-24 11:32:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libnsl (Old)
 and      /work/SRC/openSUSE:Factory/.libnsl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libnsl"

Sun Sep 24 11:32:24 2017 rev:4 rq:528499 version:1.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libnsl/libnsl.changes    2017-09-14 
21:10:37.417356939 +0200
+++ /work/SRC/openSUSE:Factory/.libnsl.new/libnsl.changes       2017-09-24 
11:32:25.886305644 +0200
@@ -2,15 +1,0 @@
-Tue Sep 12 12:43:01 CEST 2017 - [email protected]
-
-- Install yppasswd.h again
-
--------------------------------------------------------------------
-Tue Sep  5 12:54:29 CEST 2017 - [email protected]
-
-- Disable static library
-
--------------------------------------------------------------------
-Wed Aug 30 13:35:01 CEST 2017 - [email protected]
-
-- Don't install into nsl subdirectories
-
--------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libnsl.spec ++++++
--- /var/tmp/diff_new_pack.ys3wHw/_old  2017-09-24 11:32:28.961872065 +0200
+++ /var/tmp/diff_new_pack.ys3wHw/_new  2017-09-24 11:32:28.965871502 +0200
@@ -66,15 +66,20 @@
 %setup -q
 
 %build
-%configure --disable-static
+%configure --libdir=/%{_libdir}/nsl --includedir=%{_includedir}/nsl
 make %{?_smp_mflags}
 
 %install
 # Don't strip .symtab to allow debugging
 export STRIP_KEEP_SYMTAB=libnsl*.so*
+# NO_BRP_CHECK_ROOTFS is for SLES11 only, but does not harm for Factory
+export NO_BRP_CHECK_ROOTFS=true
 make %{?_smp_mflags} DESTDIR=%{buildroot} install
-# Remove .la file
-rm %{buildroot}%{_libdir}/%{name}.la
+mv -v %{buildroot}/%{_libdir}/nsl/%{name}.so.2*  %{buildroot}%{_libdir}/
+# Adjust devel so link
+rm -v %{buildroot}/%{_libdir}/nsl/%{name}.{a,la,so}
+ln -s -v %{_libdir}/%{name}.so.2 %{buildroot}%{_libdir}/nsl/%{name}.so
+mv -v %{buildroot}/%{_libdir}/nsl/pkgconfig %{buildroot}/%{_libdir}
 
 %check
 make %{?_smp_mflags} check
@@ -89,8 +94,10 @@
 
 %files devel
 %defattr(-,root,root)
-%{_libdir}/libnsl.so
-%{_includedir}/*
+%dir %{_libdir}/nsl/
+%{_libdir}/nsl/libnsl.so
+%dir %{_includedir}/nsl/
+%{_includedir}/nsl/*
 %{_libdir}/pkgconfig/*
 
 %changelog


Reply via email to