Hello community,

here is the log from the commit of package spyder for openSUSE:Factory checked 
in at 2017-07-30 11:26:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/spyder (Old)
 and      /work/SRC/openSUSE:Factory/.spyder.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "spyder"

Sun Jul 30 11:26:47 2017 rev:26 rq:512960 version:2.3.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/spyder/spyder.changes    2016-03-16 
10:34:45.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.spyder.new/spyder.changes       2017-07-30 
11:26:51.001881913 +0200
@@ -1,0 +2,5 @@
+Fri Jul 21 11:31:45 UTC 2017 - [email protected]
+
+- specfile fixes, fixes builds
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ spyder.spec ++++++
--- /var/tmp/diff_new_pack.yns9yU/_old  2017-07-30 11:26:51.853761708 +0200
+++ /var/tmp/diff_new_pack.yns9yU/_new  2017-07-30 11:26:51.857761143 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package spyder
 #
-# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -84,15 +84,18 @@
 Documentation and help files for both %{name} and python-spyderlib
 
 %lang_package
+
 %prep
 %setup -q
 # Fix wrong-file-end-of-line-encoding RPMLint warning
 sed -i 's/\r$//' doc/*.rst
 sed -i 's/\r$//' spyderlib/userconfig.py
 sed -i 's/\r$//' LICENSE
+# Remove shebangs
+sed -i '1s/^#!.*//' spyderlib/utils/external/pickleshare.py 
spyderlib/userconfig.py
 
 %build
-python setup.py build && rm build/lib/spyderlib/doc/.buildinfo
+python setup.py build
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
@@ -112,7 +115,11 @@
 %fdupes %{buildroot}%{python_sitelib}
 # Documentation belongs into _docdir:
 rm -r %{buildroot}%{python_sitelib}/spyderlib/doc
-rm -f build/lib/spyderlib/doc/.buildinfo
+# Build documentation
+sphinx-build -b html -d doc/build/doctrees doc doc/build/html
+rm doc/build/html/.buildinfo
+# Fix shebang
+sed -i '1s/^#!\/usr\/bin\/python/#!\/usr\/bin\/python2/' 
%{buildroot}%{_bindir}/%{name}
 
 %files
 %defattr(-,root,root,-)
@@ -134,7 +141,7 @@
 
 %files doc
 %defattr(-,root,root,-)
-%doc build/lib/spyderlib/doc/
+%doc doc/build/html
 
 %files lang -f %{name}.lang
 %defattr(-,root,root)



Reply via email to