Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-PyQRCode for openSUSE:Factory 
checked in at 2022-04-20 16:57:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PyQRCode (Old)
 and      /work/SRC/openSUSE:Factory/.python-PyQRCode.new.1941 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-PyQRCode"

Wed Apr 20 16:57:03 2022 rev:7 rq:970967 version:1.3.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-PyQRCode/python-PyQRCode.changes  
2022-02-02 22:43:01.418877115 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-PyQRCode.new.1941/python-PyQRCode.changes    
    2022-04-20 16:57:33.714636044 +0200
@@ -1,0 +2,5 @@
+Wed Apr 20 06:19:11 UTC 2022 - Matej Cepl <mc...@suse.com>
+
+- Clean up of the SPEC file.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-PyQRCode.spec ++++++
--- /var/tmp/diff_new_pack.SdFh2n/_old  2022-04-20 16:57:34.134636437 +0200
+++ /var/tmp/diff_new_pack.SdFh2n/_new  2022-04-20 16:57:34.138636440 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-PyQRCode
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,16 +24,18 @@
 Release:        0
 Summary:        Python 3 module to generate QR Codes
 License:        MIT
-URL:            https://github.com/mnooner256/pyqrcode
+URL:            https://github.com/pyqrcode/pyqrcodeNG
 # This is unofficial fork with some additional fixes, the canonical
 # upstream repository is dead.
 Source:         
https://github.com/pyqrcode/pyqrcodeNG/archive/refs/tags/%{version}.tar.gz#/pyqrcodeNG-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM https://github.com/pyqrcode/pyqrcodeNG/pull/18
 Patch0:         reproducible.patch
 BuildRequires:  %{python_module Sphinx}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pypng}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires(post): update-alternatives
@@ -44,18 +46,24 @@
 %description
 The PyQRCode module is a QR code generator that is simple to use and written 
in pure python. The module can automates most of the building process for 
creating QR codes. Most codes can be created using only two lines of code!
 
+%package -n %{name}-doc
+Summary:        Documentation files for %{name}
+
+%description -n %{name}-doc
+HTML Documentation for %{name}.
+
 %prep
 %autosetup -p1 -n pyqrcodeNG-%{version}
 
 sed -i -e '1{\@^#!%{_bindir}/env python@d}' pyqrcodeng/{cli,qrspecial}.py
 
 %build
-%python_build
+%pyproject_wheel
 python3 setup.py build_sphinx -v
 rm -rvf build/sphinx/html/.buildinfo
 
 %install
-%python_install
+%pyproject_install
 %python_clone -a %{buildroot}%{_bindir}/pyqr
 %python_expand %fdupes %{buildroot}/%{$python_sitelib}
 
@@ -70,9 +78,13 @@
 
 %files %{python_files}
 %license LICENSE
-%doc README.rst CHANGES.rst build/sphinx/html
+%doc README.rst CHANGES.rst
 %{_bindir}/pyqr-%{python_bin_suffix}
 %python_alternative %{_bindir}/pyqr
-%{python_sitelib}/*
+%{python_sitelib}/PyQRCodeNG-%{version}*-info
+%{python_sitelib}/pyqrcodeng
+
+%files -n %{name}-doc
+%doc build/sphinx/html
 
 %changelog

Reply via email to