Hello community,

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

Package is "python-jwcrypto"

Wed Jun 27 10:21:36 2018 rev:4 rq:618972 version:0.4.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jwcrypto/python-jwcrypto.changes  
2017-08-04 12:01:02.573545272 +0200
+++ /work/SRC/openSUSE:Factory/.python-jwcrypto.new/python-jwcrypto.changes     
2018-06-27 10:21:38.879541948 +0200
@@ -1,0 +2,10 @@
+Mon Jun 25 14:05:59 UTC 2018 - [email protected]
+
+- Clean SPEC file
+
+-------------------------------------------------------------------
+Thu Aug 24 13:43:12 UTC 2017 - [email protected]
+
+- singlespec auto-conversion
+
+-------------------------------------------------------------------
@@ -19,0 +30 @@
+

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

Other differences:
------------------
++++++ python-jwcrypto.spec ++++++
--- /var/tmp/diff_new_pack.uD5AWe/_old  2018-06-27 10:21:39.419522253 +0200
+++ /var/tmp/diff_new_pack.uD5AWe/_new  2018-06-27 10:21:39.419522253 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jwcrypto
 #
-# Copyright (c) 2016 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
@@ -16,20 +16,24 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-jwcrypto
 Version:        0.4.2
 Release:        0
 Summary:        Python module package implementing JOSE Web standards
-License:        LGPL-3.0
+License:        LGPL-3.0-only
 Group:          Development/Languages/Python
-Url:            https://pypi.python.org/pypi/jwcrypto
+URL:            https://github.com/latchset/jwcrypto
 Source:         
https://files.pythonhosted.org/packages/source/j/jwcrypto/jwcrypto-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-BuildRequires:  python-cryptography
+BuildRequires:  %{python_module cryptography}
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module pytest-runner}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 Requires:       python-cryptography
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
+%python_subpackages
 
 %description
 A Python implementation of the JOSE Working Group documents:
@@ -44,15 +48,19 @@
 %setup -q -n jwcrypto-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-rm -r %{buildroot}/usr/share/doc/jwcrypto
+%python_install
+rm -rv %{buildroot}%{_datadir}/doc/jwcrypto
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%files
-%defattr(-,root,root,-)
+%check
+%python_expand py.test-%{$python_bin_suffix} jwcrypto
+
+%files %{python_files}
 %{python_sitelib}/*
-%doc README.md LICENSE
+%license LICENSE
+%doc README.md
 
 %changelog


Reply via email to