python-qrcode 7.4.2-1 (aarch64;znver1;x86_64) 2023-17286
0

Status rejected
Submitter mandian [@T] tutanota.com
Platform rolling
Repository main
URL https://abf.openmandriva.org/build_lists/291212
Packages
python-qrcode-7.4.2-1.aarch64.source
python-qrcode-7.4.2-1.aarch64.binary
python-qrcode-core-7.4.2-1.aarch64.binary
python-qrcode-7.4.2-1.znver1.source
python-qrcode-7.4.2-1.znver1.binary
python-qrcode-core-7.4.2-1.znver1.binary
python-qrcode-7.4.2-1.x86_64.source
python-qrcode-7.4.2-1.x86_64.binary
python-qrcode-core-7.4.2-1.x86_64.binary
Build Date 2023-02-20 22:27:08 +0000 UTC
Last Updated 2023-02-21 14:05:18.418276375 +0000 UTC
$ git show --format=fuller --patch-with-stat --summary 3266695f5a40982b9a0552764877ebd30ef7d574

commit 3266695f5a40982b9a0552764877ebd30ef7d574
Author:     mandian <mandian@users.noreply.github.com>
AuthorDate: Sun Feb 19 23:55:48 2023 +0000
Commit:     mandian <mandian@users.noreply.github.com>
CommitDate: Sun Feb 19 23:55:48 2023 +0000

    fix BRs
---
 python-qrcode.spec | 80 +++++++++++++++++++++++++++---------------------------
 1 file changed, 40 insertions(+), 40 deletions(-)

diff --git a/python-qrcode.spec b/python-qrcode.spec
index 2b2646d..38a7d9e 100644
--- a/python-qrcode.spec
+++ b/python-qrcode.spec
@@ -1,38 +1,38 @@
-%global module qrcode
-
 Summary:	Python QR Code image generator
-Name:		python-%{module}
+Name:		python-qrcode
 Version:	7.4.2
 Release:	1
 License:	BSD
 URL:		https://github.com/lincolnloop/python-qrcode
-Source0:	https://pypi.python.org/packages/source/q/%{module}/%{module}-%{version}.tar.gz
+Source0:	https://pypi.python.org/packages/source/q/qrcode/qrcode-%{version}.tar.gz
 BuildArch:	noarch
 
-BuildRequires:	pkgconfig(python3)
-BuildRequires:	python3dist(setuptools)
-BuildRequires:	python3dist(pillow)
-BuildRequires:	python3dist(six)
+BuildRequires:	pkgconfig(python)
+BuildRequires:	python%{pyver}dist(pillow)
+BuildRequires:	python%{pyver}dist(pip)
+BuildRequires:	python%{pyver}dist(setuptools)
+BuildRequires:	python%{pyver}dist(six)
+BuildRequires:	python%{pyver}dist(wheel)
 
-Requires:	python-imaging
+Requires:	python%{pyver}dist(pillow)
 Requires:	%{name}-core = %{version}-%{release}
 
-Provides:	python3-%{module} = %{version}-%{release}
-Obsoletes:	python3-%{module}-core < %{version}
+#Provides:	python3-qrcode = %{version}-%{release}
+Obsoletes:	python3-qrcode-core < %{version}
 
 %description
-This module uses the Python Imaging Library (PIL) to allow for the\
+This module uses the Python Imaging Library (PIL) to allow for the
 generation of QR Codes.
 
 %files
 %{_bindir}/qr
 %{_bindir}/qrcode
 %{_mandir}/man1/qr.1*
-%{python3_sitelib}/%{module}/image/svg.py*
-%{python3_sitelib}/%{module}/image/pil.py*
-%{python3_sitelib}/%{module}/image/styledpil.py*
-#%%{python3_sitelib}/%{module}/image/__pycache__/svg.*
-#%%{python3_sitelib}/%{module}/image/__pycache__/pil.*
+%{python3_sitelib}/qrcode/image/svg.py*
+%{python3_sitelib}/qrcode/image/pil.py*
+%{python3_sitelib}/qrcode/image/styledpil.py*
+#%%{python3_sitelib}/qrcode/image/__pycache__/svg.*
+#%%{python3_sitelib}/qrcode/image/__pycache__/pil.*
 
 #---------------------------------------------------------------------------
 
@@ -41,36 +41,36 @@ Summary:	Python 3 QR Code image generator (core library)
 Requires:	python-six
 
 %description -n %{name}-core
-Core Python 3 module for QR code generation. Does not contain image rendering.
+Core Python module for QR code generation. Does not contain image rendering.
 
 %files -n %{name}-core
 %license LICENSE
 %doc README.rst CHANGES.rst
-%dir %{python3_sitelib}/%{module}/
-%dir %{python3_sitelib}/%{module}/image
-%dir %{python3_sitelib}/%{module}/image/__pycache__
-%{python3_sitelib}/%{module}*.*-info
-%{python3_sitelib}/%{module}/*.py*
-%{python3_sitelib}/%{module}/__pycache__
-%{python3_sitelib}/%{module}/compat/__init__.py*
-%{python3_sitelib}/%{module}/compat/etree.py
-%{python3_sitelib}/%{module}/compat/pil.py
-%{python3_sitelib}/%{module}/compat/__pycache__/__init__.*
-%{python3_sitelib}/%{module}/compat/__pycache__/etree.*
-%{python3_sitelib}/%{module}/compat/__pycache__/pil.*
-%{python3_sitelib}/%{module}/image/__init__.py*
-%{python3_sitelib}/%{module}/image/base.py*
-%{python3_sitelib}/%{module}/image/styles/
-%{python3_sitelib}/%{module}/image/__pycache__/__init__.*
-%{python3_sitelib}/%{module}/image/__pycache__/base.*
-%{python3_sitelib}/%{module}/image/__pycache__/pil.*
-%{python3_sitelib}/%{module}/image/__pycache__/styledpil.*
-%{python3_sitelib}/%{module}/image/__pycache__/svg.*
+%dir %{python3_sitelib}/qrcode/
+%dir %{python3_sitelib}/qrcode/image
+%dir %{python3_sitelib}/qrcode/image/__pycache__
+%{python3_sitelib}/qrcode*.*-info
+%{python3_sitelib}/qrcode/*.py*
+%{python3_sitelib}/qrcode/__pycache__
+%{python3_sitelib}/qrcode/compat/__init__.py*
+%{python3_sitelib}/qrcode/compat/etree.py
+%{python3_sitelib}/qrcode/compat/pil.py
+%{python3_sitelib}/qrcode/compat/__pycache__/__init__.*
+%{python3_sitelib}/qrcode/compat/__pycache__/etree.*
+%{python3_sitelib}/qrcode/compat/__pycache__/pil.*
+%{python3_sitelib}/qrcode/image/__init__.py*
+%{python3_sitelib}/qrcode/image/base.py*
+%{python3_sitelib}/qrcode/image/styles/
+%{python3_sitelib}/qrcode/image/__pycache__/__init__.*
+%{python3_sitelib}/qrcode/image/__pycache__/base.*
+%{python3_sitelib}/qrcode/image/__pycache__/pil.*
+%{python3_sitelib}/qrcode/image/__pycache__/styledpil.*
+%{python3_sitelib}/qrcode/image/__pycache__/svg.*
 
 #---------------------------------------------------------------------------
 
 %prep
-%autosetup -n %{module}-%{version}
+%autosetup -n qrcode-%{version}
 
 # The pure plugin requires pymaging which is not packaged in Fedora.
 rm qrcode/image/pure.py*
@@ -85,7 +85,7 @@ sed -i '1d' qrcode/console_scripts.py
 %py_install
 
 # Do not install tests
-rm -r %{buildroot}%{python3_sitelib}/%{module}/tests
+rm -r %{buildroot}%{python3_sitelib}/qrcode/tests
 
 #
 # In previous iterations of the package, the qr script had been
Not Available

benbullard79 [@T] cox.netNo Comment.640d 19hrs