Hello community, here is the log from the commit of package snipl for openSUSE:Factory:NonFree checked in at 2017-11-10 15:36:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory:NonFree/snipl (Old) and /work/SRC/openSUSE:Factory:NonFree/.snipl.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "snipl" Fri Nov 10 15:36:37 2017 rev:24 rq:528161 version:0.3.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory:NonFree/snipl/snipl.changes 2017-02-04 23:59:12.203844976 +0100 +++ /work/SRC/openSUSE:Factory:NonFree/.snipl.new/snipl.changes 2017-11-10 15:36:38.414999647 +0100 @@ -1,0 +2,14 @@ +Thu Sep 21 21:40:22 UTC 2017 - [email protected] + +- Remove deprecated DMSVSMA functionality from snIPL. (Fate#322117) + - Removed the dmsvsma.x file from the build. + - Removed all DMSVSMA references from the spec file. + +------------------------------------------------------------------- +Tue Sep 12 17:34:49 UTC 2017 - [email protected] + +- Modifed CFLAGS to include "pkg-config --libs libnsl" now that + libnsl.so is not part of glibc, and is in /usr/lib64/nsl/. +- Added a BuildRequires for libsnl-devel. + +------------------------------------------------------------------- Old: ---- dmsvsma.x ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ snipl.spec ++++++ --- /var/tmp/diff_new_pack.7BtSKd/_old 2017-11-10 15:36:38.894982290 +0100 +++ /var/tmp/diff_new_pack.7BtSKd/_new 2017-11-10 15:36:38.902982001 +0100 @@ -29,6 +29,7 @@ BuildRequires: libopenssl-devel %if 0%{?suse_version} >= 1130 BuildRequires: libnet-devel +BuildRequires: libnsl-devel BuildRequires: libtool %else BuildRequires: libnet @@ -42,8 +43,7 @@ ExclusiveArch: s390 s390x x86_64 Source: %name-%{version}.tar.gz Source1: hwmcaapi-rpms-%{api_ver}.tbz -Source2: dmsvsma.x -Source3: Z125-5589-05.txt +Source2: Z125-5589-05.txt Source99: hwmcaapi.download Patch1: snipl-0.3.0.0-hwmcaapidir.patch @@ -59,7 +59,7 @@ %setup %patch1 -p1 -cp -p %SOURCE3 . +cp -p %SOURCE2 . mkdir hwmcaapi pushd hwmcaapi tar -O -xvf %SOURCE1 hwmcaapi-%{api_ver}.%{api_arch}.rpm | \ @@ -71,10 +71,11 @@ dos2unix -o README.snipl %build -CFLAGS="%{optflags}" make DMSVSMA_DIR="%{_sourcedir}" HWMCAAPI_DIR="$PWD/hwmcaapi" +export CFLAGS="%{optflags} $(pkg-config --libs libnsl)" +make HWMCAAPI_DIR="$PWD/hwmcaapi" %install -make install DMSVSMA_DIR="%{_sourcedir}" PREFIX="%{buildroot}/%{_prefix}" \ +make install PREFIX="%{buildroot}/%{_prefix}" \ LIB_STRING="%{_lib}" HWMCAAPI_DIR="$PWD/hwmcaapi" cp -a hwmcaapi/%{_libdir}/*.so* $RPM_BUILD_ROOT/%{_libdir}
