Hello community,

here is the log from the commit of package 2ping for openSUSE:Factory checked 
in at 2016-07-30 00:26:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/2ping (Old)
 and      /work/SRC/openSUSE:Factory/.2ping.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "2ping"

Changes:
--------
--- /work/SRC/openSUSE:Factory/2ping/2ping.changes      2015-04-10 
09:50:43.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.2ping.new/2ping.changes 2016-07-30 
00:26:38.000000000 +0200
@@ -1,0 +2,14 @@
+Sun Jul 24 12:53:10 UTC 2016 - p.drou...@gmail.com
+
+- Update to version 3.2.1
+  * Please read the ChangeLog; not able to track all changes since
+    previous version
+- Upstream moved to python
+  * Remove %{perl_requires} dependency
+  * Remove perl recommendations; perl(Digest::CRC), perl(Digest::MD5),
+    perl(Digest::SHA) and perl(IO::Socket::INET6)
+  * Add python-devel and python-setuptools requirements
+- Use official tarball and download Url
+- Remove obsolete 2ping-fix-use-of-uninitialized-warning.patch
+
+-------------------------------------------------------------------

Old:
----
  2ping-1397618874.f2c20471488c.tar.xz
  2ping-fix-use-of-uninitialized-warning.patch
  _service

New:
----
  2ping-3.2.1.tar.gz

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

Other differences:
------------------
++++++ 2ping.spec ++++++
--- /var/tmp/diff_new_pack.5f2Ksw/_old  2016-07-30 00:26:39.000000000 +0200
+++ /var/tmp/diff_new_pack.5f2Ksw/_new  2016-07-30 00:26:39.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package 2ping
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -20,17 +20,16 @@
 Summary:        Bi-directional ping utility
 License:        GPL-2.0+
 Group:          Productivity/Networking/Diagnostic
-Version:        1397618874.f2c20471488c
+Version:        3.2.1
 Release:        0
 Url:            http://www.finnie.org/software/2ping/
-Source0:        %{name}-%{version}.tar.xz
-Patch0:         2ping-fix-use-of-uninitialized-warning.patch
+Source0:        http://www.finnie.org/software/2ping/%{name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
-Recommends:     perl(Digest::CRC)
-Recommends:     perl(Digest::MD5)
-Recommends:     perl(Digest::SHA)
-Recommends:     perl(IO::Socket::INET6)
+BuildRequires:  python-devel
+BuildRequires:  python-setuptools
+# A bit tricky but should do it
+Provides:       %{name} = 1397618874.f2c20471488c
+Obsoletes:      %{name} = 1397618874.f2c20471488c
 BuildArch:      noarch
 
 %description
@@ -40,23 +39,26 @@
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+python setup.py build
+install -d -m 0755 %{buildroot}%{_mandir}/man1
+install -m 0644 doc/2ping.1 %{buildroot}%{_mandir}/man1/2ping.1
+install -m 0644 doc/2ping.1 %{buildroot}%{_mandir}/man1/2ping6.1
 
 %install
-%perl_make_install
-%perl_process_packlist
-%perl_gen_filelist
-%{_fixperms} $RPM_BUILD_ROOT/*
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
 %check
-make test
+python setup.py test
 
-%files -f %{name}.files
+%files
 %defattr(-,root,root)
-%doc ChangeLog COPYING README
+%doc ChangeLog COPYING README doc/2ping-protocol-examples.py doc/2ping.md 
doc/2ping-protocol.md
+%{_bindir}/2ping
+%{_bindir}/2ping6
+%{_mandir}/man1/2ping.1.*
+%{_mandir}/man1/2ping6.1.*
+%{python_sitelib}/*
 
 %changelog


Reply via email to