Hello community,

here is the log from the commit of package libnet for openSUSE:Factory checked 
in at 2020-09-25 16:21:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libnet (Old)
 and      /work/SRC/openSUSE:Factory/.libnet.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libnet"

Fri Sep 25 16:21:25 2020 rev:32 rq:836246 version:1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/libnet/libnet.changes    2015-10-28 
17:16:12.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libnet.new.4249/libnet.changes  2020-09-25 
16:21:38.931365192 +0200
@@ -1,0 +2,13 @@
+Wed Sep 23 07:11:45 UTC 2020 - Dirk Mueller <[email protected]>
+
+- update to 1.2:
+  * Removed Lua bindings from repo and dist files, now available separately
+  * Removed generated HTML and Nroff (man pages) documentation files, must be 
regenerated with Doxygen using make doc
+  * Add pkg-config support with libnet.pc, replaces libnet-config tool, 
although it is kept for compatibility for now
+  * Factorize socket setup code for socket opening to provide output device 
selection for IPv4
+  * Make libnet_get_hwaddr() work with 802.1q interfaces in bpf (BSD)
+  * New API for OSPF HELLO messages, with neighbor 
+  * many bugfixes, see https://github.com/libnet/libnet/releases/tag/v1.2
+- drop libnet-1.2-rc.patch libnet-pf-packet.patch (obsolete)
+
+-------------------------------------------------------------------

Old:
----
  libnet-1.2-rc.patch
  libnet-1.2-rc3.tar.gz
  libnet-pf-packet.patch

New:
----
  libnet-1.2.tar.gz

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

Other differences:
------------------
++++++ libnet.spec ++++++
--- /var/tmp/diff_new_pack.ImuiAe/_old  2020-09-25 16:21:40.047366180 +0200
+++ /var/tmp/diff_new_pack.ImuiAe/_new  2020-09-25 16:21:40.047366180 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libnet
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,29 +12,23 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %define libname libnet9
-%define realver 1.2-rc3
 Name:           libnet
-Version:        1.2~rc3
+Version:        1.2
 Release:        0
 Summary:        A C Library for Portable Packet Creation
 License:        BSD-3-Clause
 Group:          Development/Libraries/C and C++
-Url:            http://sourceforge.net/projects/libnet-dev
-Source0:        
http://downloads.sourceforge.net/libnet-dev/%{name}-%{realver}.tar.gz
-#PATCH-FIX-OPENSUSE: [email protected], use proper version string to work fine
-Patch0:         libnet-1.2-rc.patch
-#PATCH-FIX-OPENSUSE: [email protected], properly detect PF_PACKET in OBS
-# Not upstreamable as we simply expect the feature to be there
-Patch1:         libnet-pf-packet.patch
+URL:            https://codedocs.xyz/libnet/libnet/
+Source0:        
https://github.com/libnet/libnet/releases/download/v%{version}/libnet-%{version}.tar.gz
 BuildRequires:  autoconf
 BuildRequires:  automake
+BuildRequires:  doxygen
 BuildRequires:  libtool
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 Libnet is an API to help with the construction and handling of network
@@ -76,9 +70,8 @@
 packets. This package contains documentation.
 
 %prep
-%setup -q -n %{name}-%{realver}
-%patch0 -p1
-%patch1 -p1
+%setup -q
+###%patch1 -p1
 
 rm -rf sample/win32
 # HACK: to have samples/ dir untouched and ready for installation
@@ -92,10 +85,10 @@
     --disable-static \
     --with-pic \
     --with-link-layer=linux
-make %{?_smp_mflags}
+%make_build
 
 %install
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
+%make_install
 find %{buildroot} -type f -name "*.la" -delete -print
 install -d -m 755 %{buildroot}/%{_bindir}
 install -m 755 libnet-config %{buildroot}/%{_bindir}
@@ -104,25 +97,23 @@
 # HACK: rename untouched dir back
 mv sample_doc sample
 find doc/  -name "Makefile*" -o -name ".libs" | xargs rm -rf
+rm -rf %{buildroot}/usr/share/doc/%{name}
 
 %post -n %{libname} -p /sbin/ldconfig
-
 %postun -n %{libname} -p /sbin/ldconfig
 
 %files -n %{libname}
-%defattr(-,root,root)
-%doc doc/COPYING
+%license LICENSE
 %{_libdir}/libnet.so.*
 
 %files devel
-%defattr(-,root,root)
 %{_bindir}/libnet-config
 %{_includedir}/libnet*
 %{_libdir}/libnet.so
 %{_mandir}/man3/*
+%{_libdir}/pkgconfig/libnet.pc
 
 %files doc
-%defattr(-,root,root)
 %doc doc/* sample
 
 %changelog

++++++ libnet-1.2-rc3.tar.gz -> libnet-1.2.tar.gz ++++++
++++ 74088 lines of diff (skipped)


Reply via email to