Hello community,

here is the log from the commit of package python-pyxdg for openSUSE:Factory 
checked in at 2019-09-23 12:17:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyxdg (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyxdg.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyxdg"

Mon Sep 23 12:17:13 2019 rev:7 rq:731156 version:0.26

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyxdg/python-pyxdg.changes        
2019-04-28 19:57:16.507013781 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyxdg.new.7948/python-pyxdg.changes      
2019-09-23 12:17:16.065808155 +0200
@@ -1,0 +2,5 @@
+Sun Sep 15 06:48:50 UTC 2019 - John Vandenberg <[email protected]>
+
+- Fix test data to use sys.executable
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pyxdg.spec ++++++
--- /var/tmp/diff_new_pack.KlPCcu/_old  2019-09-23 12:17:17.205807968 +0200
+++ /var/tmp/diff_new_pack.KlPCcu/_new  2019-09-23 12:17:17.209807968 +0200
@@ -28,6 +28,7 @@
 Source:         
https://files.pythonhosted.org/packages/source/p/pyxdg/pyxdg-%{version}.tar.gz
 Patch0:         resource_leak.patch
 BuildRequires:  %{python_module nose}
+BuildRequires:  fdupes
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  python-rpm-macros
 BuildRequires:  shared-mime-info
@@ -60,10 +61,15 @@
 
 %install
 %python_install
+%python_expand %fdupes %{buildroot}%{python_sitelib}
 
 %check
+# https://gitlab.freedesktop.org/xdg/pyxdg/issues/15
 # test_get_type{,2} both fail but come from s-m-i package for data
-%python_expand nosetests-%{$python_bin_suffix} -e test_get_type*
+# https://gitlab.freedesktop.org/xdg/pyxdg/merge_requests/4
+%{python_expand sed -i "s/Exec=python.*$/Exec=$python/" test/resources.py
+nosetests-%{$python_bin_suffix} -e test_get_type*
+}
 
 %files %{python_files}
 %license COPYING


Reply via email to