Hello community,

here is the log from the commit of package libnet for openSUSE:Factory checked 
in at 2014-05-16 17:56:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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    2014-01-07 
16:35:04.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libnet.new/libnet.changes       2014-05-16 
17:56:26.000000000 +0200
@@ -1,0 +2,15 @@
+Tue May 13 14:04:38 UTC 2014 - tchva...@suse.com
+
+- Drop patch removing manpages, no reason to remove them.
+  libnet-1.2.0-drop-man-build.patch
+
+-------------------------------------------------------------------
+Tue May 13 13:56:58 UTC 2014 - tchva...@suse.com
+
+- Update to actual released tarball which is versioned 1.2-rc3
+- Cleanup with spec-cleaner
+- No reason to not have this library in /usr so move it there
+- Add patch libnet-1.2-rc.patch needed to set proper version in
+  automake.
+
+-------------------------------------------------------------------

Old:
----
  libnet-1.2.0-drop-man-build.patch
  libnet-1.2.tar.gz

New:
----
  libnet-1.2-rc.patch
  libnet-1.2-rc3.tar.gz

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

Other differences:
------------------
++++++ libnet.spec ++++++
--- /var/tmp/diff_new_pack.Tqk4Wn/_old  2014-05-16 17:56:27.000000000 +0200
+++ /var/tmp/diff_new_pack.Tqk4Wn/_new  2014-05-16 17:56:27.000000000 +0200
@@ -16,22 +16,22 @@
 #
 
 
-%global libname libnet9
-
+%define libname libnet9
+%define realver 1.2-rc3
 Name:           libnet
+Version:        1.2~rc3
+Release:        0
 Summary:        A C Library for Portable Packet Creation
 License:        BSD-3-Clause
 Group:          Development/Libraries/C and C++
-Version:        1.2
-Release:        0
 Url:            http://sourceforge.net/projects/libnet-dev
-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
+Source0:        
http://downloads.sourceforge.net/libnet-dev/%{name}-%{realver}.tar.gz
+#PATCH-FIX-OPENSUSE: tchva...@suse.com, use proper version string to work fine
+Patch0:         libnet-1.2-rc.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libtool
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 Libnet is an API to help with the construction and handling of network
@@ -76,7 +76,7 @@
 packets. This package contains documentation.
 
 %prep
-%setup -q -n %{name}-%{name}-%{version}/%{name}
+%setup -q -n %{name}-%{realver}
 %patch0 -p1
 
 rm -rf sample/win32
@@ -87,21 +87,19 @@
 # no configure in a tarball
 autoreconf -fiv
 CFLAGS="%{optflags} -Wall -Wno-unused" \
-%configure --libdir=/%{_lib} --disable-static --with-pic
-%{__make} %{?_smp_mflags}
+%configure --disable-static --with-pic
+make %{?_smp_mflags}
 
 %install
-%{makeinstall}
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
+find %{buildroot} -type f -name "*.la" -delete -print
 install -d -m 755 %{buildroot}/%{_bindir}
 install -m 755 libnet-config %{buildroot}/%{_bindir}
-find doc/  -name "Makefile*" -o -name ".libs" | xargs rm -rf
+
 rm -rf sample/
 # HACK: rename untouched dir back
 mv sample_doc sample
-%{__rm} -v %{buildroot}/%{_lib}/*.la
-%{__install} -d -m 0755 %{buildroot}%{_libdir}
-%{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/libnet.so) 
%{buildroot}%{_libdir}/libnet.so
-%{__rm} -v %{buildroot}/%{_lib}/libnet.so
+find doc/  -name "Makefile*" -o -name ".libs" | xargs rm -rf
 
 %post -n %{libname} -p /sbin/ldconfig
 
@@ -110,13 +108,14 @@
 %files -n %{libname}
 %defattr(-,root,root)
 %doc doc/COPYING
-/%{_lib}/libnet.so.*
+%{_libdir}/libnet.so.*
 
 %files devel
 %defattr(-,root,root)
 %{_bindir}/libnet-config
 %{_includedir}/libnet*
 %{_libdir}/libnet.so
+%{_mandir}/man3/*
 
 %files doc
 %defattr(-,root,root)

++++++ libnet-1.2-rc.patch ++++++
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,7 @@
 dnl
 dnl Process this file with autoconf to produce a configure script.
 
-AC_INIT([libnet],[1.2-rc3])
+AC_INIT([libnet],[1.2])
 AC_MSG_RESULT(beginning autoconfiguration process for 
libnet-${PACKAGE_VERSION} ...)
 AC_CANONICAL_TARGET
 AC_CONFIG_SRCDIR([src/libnet_build_ip.c])
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to