Hello community,

here is the log from the commit of package python-oauth2client for 
openSUSE:Factory checked in at 2018-06-29 22:27:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oauth2client (Old)
 and      /work/SRC/openSUSE:Factory/.python-oauth2client.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-oauth2client"

Fri Jun 29 22:27:28 2018 rev:9 rq:617159 version:4.1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oauth2client/python-oauth2client.changes  
2017-07-19 12:22:07.694883415 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-oauth2client.new/python-oauth2client.changes 
    2018-06-29 22:27:28.478434865 +0200
@@ -1,0 +2,5 @@
+Thu Jun 14 01:41:53 UTC 2018 - [email protected]
+
+- Do not build Django extension on SLES
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-oauth2client.spec ++++++
--- /var/tmp/diff_new_pack.sMpc2r/_old  2018-06-29 22:27:28.902434544 +0200
+++ /var/tmp/diff_new_pack.sMpc2r/_new  2018-06-29 22:27:28.902434544 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-oauth2client
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -36,7 +36,9 @@
 Requires:       python-pycrypto
 Requires:       python-rsa             >= 3.1.4
 Requires:       python-six             >= 1.6.1
+%if 0%{?is_opensuse}
 BuildRequires:  %{python_module Django >= 1.8}
+%endif
 BuildRequires:  %{python_module Flask}
 BuildRequires:  %{python_module SQLAlchemy}
 BuildRequires:  %{python_module fasteners}
@@ -61,6 +63,7 @@
 %description
 This is a Python library for accessing resources protected by OAuth 2.0.
 
+%if 0%{?is_opensuse}
 %package django
 Summary:        Django extension
 Group:          Development/Libraries/Python
@@ -72,6 +75,7 @@
 
 Utilities for using OAuth 2.0 in conjunction with
 the Django datastore.
+%endif
 
 %package flask
 Summary:        Flask extension
@@ -102,7 +106,12 @@
 # remove extensions currently not packaged
 rm -rf oauth2client/contrib/*appengine*
 rm -f oauth2client/contrib/__pycache__/*appengine*
+%if 0%{?is_opensuse}
 %patch1
+%else
+# No Django on SLE
+rm -rf oauth2client/contrib/django*
+%endif
 %patch2
 
 %build
@@ -135,9 +144,11 @@
 %{python_sitelib}/oauth2client/contrib/__pycache__/flask*
 %endif
 
+%if 0%{?is_opensuse}
 %files %{python_files django}
 %defattr(-,root,root,-)
 %{python_sitelib}/oauth2client/contrib/django*
+%endif
 
 %files %{python_files gce}
 %defattr(-,root,root,-)


Reply via email to