Hello community,

here is the log from the commit of package nfswatch for openSUSE:Factory 
checked in at 2018-03-12 12:11:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nfswatch (Old)
 and      /work/SRC/openSUSE:Factory/.nfswatch.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nfswatch"

Mon Mar 12 12:11:54 2018 rev:9 rq:585362 version:4.99.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/nfswatch/nfswatch.changes        2011-12-12 
17:03:17.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.nfswatch.new/nfswatch.changes   2018-03-12 
12:11:59.358899881 +0100
@@ -1,0 +2,10 @@
+Sat Mar 10 01:03:28 UTC 2018 - plinn...@opensuse.org
+- update to 4.9.11
+- run spec-cleaner
+- add makefile.patch to fix linking on TW/Leap 15
+- README file converted to utf8 
+- Fix compile issues on Solaris and Linux alpha machines 
+- Add a ChangeLog file 
+- Add TODO note about broken strict aliasing rule
+
+-------------------------------------------------------------------

Old:
----
  nfswatch-4.99.10.tar.bz2

New:
----
  makefile.patch
  nfswatch-4.99.11.tar.gz

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

Other differences:
------------------
++++++ nfswatch.spec ++++++
--- /var/tmp/diff_new_pack.B0MYiM/_old  2018-03-12 12:12:01.382827676 +0100
+++ /var/tmp/diff_new_pack.B0MYiM/_new  2018-03-12 12:12:01.390827391 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package nfswatch
 #
-# Copyright (c) 2011 SUSE LINUX Products 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
@@ -17,39 +17,42 @@
 
 
 Name:           nfswatch
-Version:        4.99.10
+Version:        4.99.11
 Release:        0
 Summary:        An NFS traffic monitoring tool
 License:        BSD-2-Clause
 Group:          Productivity/Networking/NFS
-Url:            http://nfswatch.sourceforge.net
-Source:         %{name}-%{version}.tar.bz2
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-
+URL:            http://nfswatch.sourceforge.net
+Source:         %{name}-%{version}.tar.gz
+Patch0:                        makefile.patch
 BuildRequires:  libpcap-devel
 BuildRequires:  ncurses-devel
+%if 0%{?suse_version} >= 1500
+BuildRequires:  libtirpc-devel
+%endif
 
 %description
 Nfswatch is a command-line tool for monitoring NFS traffic.
 Nfswatch can capture and analyze the NFS packets on a particular
 network interface or on all interfaces.
 
-
 %prep
-%setup
+%setup -q
+%if 0%{?suse_version} >= 1500
+%patch0 -p1
+%endif
 
 %build
-make CFLAGS="$RPM_OPT_FLAGS"
 
-%install
-make STRIP= DESTDIR=$RPM_BUILD_ROOT install
 
-%clean
-rm -rf $RPM_BUILD_ROOT
+make %{?_smp_mflags} CFLAGS="%{optflags}"
+
+%install
+make STRIP= DESTDIR=%{buildroot} install
 
 %files
-%defattr(-,root,root)
-%doc LICENSE README
+%license LICENSE
+%doc README
 %{_sbindir}/nfswatch
 %{_sbindir}/nfslogsum
 %{_mandir}/man8/*

++++++ makefile.patch ++++++
--- nfswatch-4.99.11/Makefile.orig
+++ nfswatch-4.99.11/Makefile
@@ -58,7 +58,7 @@
 ULTRIXLIBS=    -lcurses -ltermcap -lm
 #DECOSFLIBS=   -lcurses -ltermcap -lm
 DECOSFLIBS=    -lcurses -ltermcap -lm pfopen.c
-LINUXLIBS=     -lpcap -lncurses -lm
+LINUXLIBS=     -lpcap -lncurses -lm -ltirpc
 
 CFLAGS=
 LIBS=


Reply via email to