Hello community,

here is the log from the commit of package python-hl7apy for openSUSE:Factory 
checked in at 2017-07-02 13:38:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-hl7apy (Old)
 and      /work/SRC/openSUSE:Factory/.python-hl7apy.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-hl7apy"

Sun Jul  2 13:38:24 2017 rev:4 rq:507529 version:1.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-hl7apy/python-hl7apy.changes      
2017-06-22 10:40:19.158246118 +0200
+++ /work/SRC/openSUSE:Factory/.python-hl7apy.new/python-hl7apy.changes 
2017-07-02 13:38:25.309000494 +0200
@@ -1,0 +2,7 @@
+Fri Jun 30 13:17:13 UTC 2017 - [email protected]
+
+- convert to singlespec
+- mark binary for inclusion only in python3 package
+- drop non-functioning tests
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-hl7apy.spec ++++++
--- /var/tmp/diff_new_pack.gmL0D3/_old  2017-07-02 13:38:25.860922663 +0200
+++ /var/tmp/diff_new_pack.gmL0D3/_new  2017-07-02 13:38:25.864922100 +0200
@@ -16,6 +16,7 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-hl7apy
 Version:        1.2.0
 Release:        0
@@ -24,10 +25,13 @@
 Group:          Development/Languages/Python
 Url:            http://hl7apy.org
 Source:         
https://files.pythonhosted.org/packages/source/h/hl7apy/hl7apy-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
+%python_subpackages
 
 %description
 HL7apy is a Python package to handle HL7 <http://www.hl7.org> v2
@@ -46,18 +50,15 @@
 %setup -q -n hl7apy-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
 
-%check
-#python setup.py test
-
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc LICENSE AUTHORS
-%{_bindir}/hl7apy_profile_parser
+%python3_only %{_bindir}/hl7apy_profile_parser
 %{python_sitelib}/*
 
 %changelog


Reply via email to