Hello community,

here is the log from the commit of package python-crcmod for openSUSE:Factory 
checked in at 2017-12-19 10:57:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-crcmod (Old)
 and      /work/SRC/openSUSE:Factory/.python-crcmod.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-crcmod"

Tue Dec 19 10:57:06 2017 rev:5 rq:557609 version:1.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-crcmod/python-crcmod.changes      
2014-02-22 18:14:56.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-crcmod.new/python-crcmod.changes 
2017-12-19 10:57:08.265259788 +0100
@@ -1,0 +2,12 @@
+Sat Dec 16 08:07:07 UTC 2017 - [email protected]
+
+- Cleanup spec file
+- Use fdupes
+- Do not bundle html doc
+
+-------------------------------------------------------------------
+Thu Aug 24 13:35:06 UTC 2017 - [email protected]
+
+- singlespec auto-conversion
+
+-------------------------------------------------------------------
@@ -9,0 +22 @@
+

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

Other differences:
------------------
++++++ python-crcmod.spec ++++++
--- /var/tmp/diff_new_pack.Jjqaip/_old  2017-12-19 10:57:08.921228122 +0100
+++ /var/tmp/diff_new_pack.Jjqaip/_new  2017-12-19 10:57:08.925227929 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-crcmod
 #
-# Copyright (c) 2014 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
@@ -16,21 +16,19 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-crcmod
 Version:        1.7
 Release:        0
-Url:            http://crcmod.sourceforge.net/
 Summary:        CRC Generator
 License:        MIT
 Group:          Development/Languages/Python
-Source:         
http://pypi.python.org/packages/source/c/crcmod/crcmod-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-devel
-%if 0%{?suse_version}
-%py_requires
-%endif
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+Url:            http://crcmod.sourceforge.net/
+Source:         
https://files.pythonhosted.org/packages/source/c/crcmod/crcmod-%{version}.tar.gz
+BuildRequires:  %{python_module base}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+%python_subpackages
 
 %description
 The software in this package is a Python module for generating objects that
@@ -50,14 +48,14 @@
 %setup -q -n crcmod-%{version}
 
 %build
-CFLAGS="%{optflags}" python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitearch}/crcmod
 
-%files
-%defattr(-,root,root,-)
-%doc LICENSE README changelog docs/html
+%files %{python_files}
+%doc LICENSE README changelog
 %{python_sitearch}/*
 
 %changelog


Reply via email to