Hello community,

here is the log from the commit of package python-PyJWT for openSUSE:Factory 
checked in at 2015-08-17 15:35:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PyJWT (Old)
 and      /work/SRC/openSUSE:Factory/.python-PyJWT.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-PyJWT"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-PyJWT/python-PyJWT.changes        
2015-04-23 08:05:15.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-PyJWT.new/python-PyJWT.changes   
2015-08-17 15:35:26.000000000 +0200
@@ -1,0 +2,10 @@
+Mon Aug 10 09:20:26 UTC 2015 - [email protected]
+
+- apply PyJWT-1.1.0.diff only on RHEL/CentOS
+
+-------------------------------------------------------------------
+Thu Jul  9 16:43:37 UTC 2015 - [email protected]
+
+- fix build on RHEL7, add PyJWT-1.1.0.diff
+
+-------------------------------------------------------------------

New:
----
  PyJWT-1.1.0.diff

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

Other differences:
------------------
++++++ python-PyJWT.spec ++++++
--- /var/tmp/diff_new_pack.5Ri47c/_old  2015-08-17 15:35:26.000000000 +0200
+++ /var/tmp/diff_new_pack.5Ri47c/_new  2015-08-17 15:35:26.000000000 +0200
@@ -24,6 +24,8 @@
 License:        MIT
 Group:          Development/Languages/Python
 Source:         
http://pypi.python.org/packages/source/P/PyJWT/PyJWT-%{version}.tar.gz
+# PATCH-FIX-CENTOS PyJWT-1.1.0.diff -- without this, the centos build %%check 
will try to download stuff from pypi --seife
+Patch1:         PyJWT-1.1.0.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-cryptography
 BuildRequires:  python-devel
@@ -44,6 +46,9 @@
 
 %prep
 %setup -q -n PyJWT-%{version}
+%if 0%{?rhel}
+%patch1 -p1
+%endif
 
 %build
 python setup.py build

++++++ PyJWT-1.1.0.diff ++++++
diff --git a/setup.py b/setup.py
index 2586c2a..dee928c 100755
--- a/setup.py
+++ b/setup.py
@@ -78,6 +78,5 @@ setup(
         'Topic :: Utilities',
     ],
     test_suite='tests',
-    tests_require=['pytest', 'pytest-cov'],
     cmdclass={'test': PyTest},
 )

Reply via email to