Hello community,

here is the log from the commit of package python-rencode for openSUSE:Factory 
checked in at 2019-03-05 12:19:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-rencode (Old)
 and      /work/SRC/openSUSE:Factory/.python-rencode.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-rencode"

Tue Mar  5 12:19:11 2019 rev:2 rq:680414 version:1.0.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-rencode/python-rencode.changes    
2017-08-08 11:59:11.240465329 +0200
+++ /work/SRC/openSUSE:Factory/.python-rencode.new.28833/python-rencode.changes 
2019-03-05 12:19:29.480948119 +0100
@@ -1,0 +2,8 @@
+Fri Mar  1 09:43:25 UTC 2019 - Tomáš Chvátal <tchva...@suse.com>
+
+- Update to 1.0.6:
+  * Various packaging fixes
+- Switch to github tarball to get all needed files (missing pyx on pypi)
+- Run tests
+
+-------------------------------------------------------------------

Old:
----
  rencode-1.0.5.tar.gz

New:
----
  v1.0.6.tar.gz

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

Other differences:
------------------
++++++ python-rencode.spec ++++++
--- /var/tmp/diff_new_pack.cv0Vys/_old  2019-03-05 12:19:30.164947910 +0100
+++ /var/tmp/diff_new_pack.cv0Vys/_new  2019-03-05 12:19:30.168947909 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-rencode
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,24 +12,26 @@
 # 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/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-rencode
-Version:        1.0.5
+Version:        1.0.6
 Release:        0
 Summary:        Web safe object pickling/unpickling
-License:        GPL-3.0+
-Url:            https://github.com/aresch/rencode
-Source0:        
https://files.pythonhosted.org/packages/source/r/rencode/rencode-%{version}.tar.gz
+License:        GPL-3.0-or-later
+Group:          Development/Languages/Python
+URL:            https://github.com/aresch/rencode
+Source0:        https://github.com/aresch/rencode/archive/v%{version}.tar.gz
 Source1:        %{name}.changes
 BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %python_subpackages
 
 %description
@@ -41,20 +43,24 @@
 %prep
 %setup -q -n rencode-%{version}
 # to "avoid python-bytecode-inconsistent-mtime" warnings
-FAKE_TIMESTAMP=$(LC_ALL=C date -u -r %{SOURCE1} +%y%m%d%H%M)
+FAKE_TIMESTAMP=$(LC_ALL=C date -u -r %{SOURCE1} +%%y%%m%%d%%H%%M)
 find . -name '*.py' -exec touch -mat $FAKE_TIMESTAMP {} \;
+# do not use O3
+sed -i -e '/extra_compile_args/d' setup.py
 
 %build
-export CFLAGS="%{optflags}"
-export CXXFLAGS="%{optflags}"
+export CFLAGS="%{optflags} -fno-strict-aliasing"
 %python_build
 
 %install
 %python_install
-%python_expand %fdupes -s %{buildroot}%{$python_sitearch}/rencode
+%python_expand %fdupes %{buildroot}%{$python_sitearch}/rencode
+
+%check
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python 
tests/test_rencode.py
 
 %files %{python_files}
-%defattr(-,root,root)
+%license COPYING
 %{python_sitearch}/rencode
 %{python_sitearch}/rencode-%{version}-py%{python_version}.egg-info
 


Reply via email to