Hello community, here is the log from the commit of package libnet for openSUSE:Factory checked in at 2014-01-07 16:35:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libnet (Old) and /work/SRC/openSUSE:Factory/.libnet.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libnet" Changes: -------- --- /work/SRC/openSUSE:Factory/libnet/libnet.changes 2013-10-04 10:57:57.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libnet.new/libnet.changes 2014-01-07 16:35:04.000000000 +0100 @@ -1,0 +2,13 @@ +Thu Jan 2 09:30:15 UTC 2014 - mvysko...@suse.com + +- Use macro in libnet-devel to ensure correct dependency + +------------------------------------------------------------------- +Thu Dec 19 11:02:52 UTC 2013 - mvysko...@suse.com + +- Update to 1.2 + no changelog available +- add libnet-1.2.0-drop-man-build.patch to not fail on non existing + manual pages + +------------------------------------------------------------------- Old: ---- libnet-1.1.6.tar.gz New: ---- libnet-1.2.0-drop-man-build.patch libnet-1.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libnet.spec ++++++ --- /var/tmp/diff_new_pack.sslmZf/_old 2014-01-07 16:35:05.000000000 +0100 +++ /var/tmp/diff_new_pack.sslmZf/_new 2014-01-07 16:35:05.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package libnet # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,15 +16,21 @@ # +%global libname libnet9 + Name: libnet Summary: A C Library for Portable Packet Creation License: BSD-3-Clause Group: Development/Libraries/C and C++ -Version: 1.1.6 +Version: 1.2 Release: 0 Url: http://sourceforge.net/projects/libnet-dev -Source0: http://sourceforge.net/projects/libnet-dev/files/%{name}-%{version}.tar.gz +Source0: https://github.com/sam-github/libnet/archive/%{name}-%{version}.tar.gz +#PATCH-FIX-UPSTREAM: mvysko...@suse.com, don't build empty man dir +Patch0: libnet-1.2.0-drop-man-build.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: autoconf +BuildRequires: automake BuildRequires: libtool %description @@ -36,14 +42,14 @@ tools and network test code. See the man page and sample test code for more detailed information. -%package -n libnet1 +%package -n %{libname} Summary: A C Library for Portable Packet Creation Group: Development/Libraries/C and C++ # was last used in openSUSE 11.3 Provides: libnet = 1.1.5 Obsoletes: libnet < 1.1.5 -%description -n libnet1 +%description -n %{libname} Libnet is an API to help with the construction and handling of network packets. It provides a portable framework for low-level network packet writing and handling. Libnet includes packet creation at the IP layer @@ -55,7 +61,7 @@ %package devel Summary: Devel files for libnet Group: Development/Libraries/C and C++ -Requires: libnet1 = %{version} +Requires: %{libname} = %{version} %description devel Libnet is an API to help with the construction and handling of network @@ -70,21 +76,24 @@ packets. This package contains documentation. %prep -%setup -q +%setup -q -n %{name}-%{name}-%{version}/%{name} +%patch0 -p1 +rm -rf sample/win32 # HACK: to have samples/ dir untouched and ready for installation cp -r sample sample_doc %build +# no configure in a tarball +autoreconf -fiv CFLAGS="%{optflags} -Wall -Wno-unused" \ %configure --libdir=/%{_lib} --disable-static --with-pic %{__make} %{?_smp_mflags} %install %{makeinstall} -install -d -m 755 %{buildroot}/{%{_bindir},%{_mandir}/man3} +install -d -m 755 %{buildroot}/%{_bindir} install -m 755 libnet-config %{buildroot}/%{_bindir} -install -m 644 doc/man/man3/*.3 %{buildroot}/%{_mandir}/man3 find doc/ -name "Makefile*" -o -name ".libs" | xargs rm -rf rm -rf sample/ # HACK: rename untouched dir back @@ -94,11 +103,11 @@ %{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/libnet.so) %{buildroot}%{_libdir}/libnet.so %{__rm} -v %{buildroot}/%{_lib}/libnet.so -%post -n libnet1 -p /sbin/ldconfig +%post -n %{libname} -p /sbin/ldconfig -%postun -n libnet1 -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig -%files -n libnet1 +%files -n %{libname} %defattr(-,root,root) %doc doc/COPYING /%{_lib}/libnet.so.* @@ -108,7 +117,6 @@ %{_bindir}/libnet-config %{_includedir}/libnet* %{_libdir}/libnet.so -%doc %{_mandir}/man3/* %files doc %defattr(-,root,root) ++++++ libnet-1.2.0-drop-man-build.patch ++++++ Index: libnet/doc/Makefile.am =================================================================== --- libnet/doc/Makefile.am +++ libnet/doc/Makefile.am @@ -5,6 +5,6 @@ EXTRA_DIST = CHANGELOG CONTRIB COPYI doc: cd $(top_srcdir) && doxygen doc/libnet.doxygen.conf -SUBDIRS = man html +SUBDIRS = html ++++++ libnet-1.1.6.tar.gz -> libnet-1.2.tar.gz ++++++ ++++ 138865 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org