Hello community,

here is the log from the commit of package python-docopt for openSUSE:Factory 
checked in at 2017-04-29 10:53:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-docopt (Old)
 and      /work/SRC/openSUSE:Factory/.python-docopt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-docopt"

Sat Apr 29 10:53:11 2017 rev:5 rq:491623 version:0.6.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-docopt/python-docopt.changes      
2015-10-01 09:28:59.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-docopt.new/python-docopt.changes 
2017-04-29 10:53:14.522620378 +0200
@@ -1,0 +2,6 @@
+Tue Apr 25 16:09:02 UTC 2017 - toddrme2...@gmail.com
+
+- Implement single-spec version
+- Fix source URL.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-docopt.spec ++++++
--- /var/tmp/diff_new_pack.zivK5h/_old  2017-04-29 10:53:15.262515854 +0200
+++ /var/tmp/diff_new_pack.zivK5h/_new  2017-04-29 10:53:15.266515288 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-docopt
 #
-# Copyright (c) 2015 SUSE LINUX 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
@@ -16,6 +16,7 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-docopt
 Version:        0.6.2
 Release:        0
@@ -23,15 +24,14 @@
 License:        MIT
 Group:          Development/Languages/Python
 Url:            http://docopt.org
-Source:         
https://pypi.python.org/packages/source/d/docopt/docopt-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
+Source:         
https://files.pythonhosted.org/packages/source/d/docopt/docopt-%{version}.tar.gz
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
 BuildArch:      noarch
-%endif
+%python_subpackages
 
 %description
 docopt creates beautiful command-line interfaces.
@@ -47,20 +47,20 @@
 docopt helps you create most beautiful command-line interfaces
 easily.
 
-docopt is tested with Python 2.5, 2.6, 2.7, 3.2, 3.3 and PyPy.
-
 %prep
 %setup -q -n docopt-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc LICENSE-MIT README.rst
+%doc examples/
 %{python_sitelib}/*
 
 %changelog


Reply via email to