https://bugzilla.redhat.com/show_bug.cgi?id=2441402



--- Comment #1 from Michel Lind <[email protected]> ---
Note: This is intended for EPEL 9 only, needed for updating django-allauth

Diff from Rawhide spec (pillow is actually in EPEL now -
https://src.fedoraproject.org/rpms/python-pillow - and pypng is getting built)

Since we can't replace existing c9s packages this is conflicting with the
python3-qrcode-core that's in ELL9 instead

--- /home/michel/src/fedora/pkgs/main-admin/python-qrcode/python-qrcode.spec   
2026-02-20 16:55:44.680193093 +0000
+++ python-qrcode8.spec 2026-02-20 17:30:48.711604740 +0000
@@ -1,9 +1,8 @@
-# RHEL does not include pillow or pypng
-%bcond extras %[%{undefined rhel} || %{defined epel}]
+%bcond extras 1

 %global pkgname qrcode

-Name:           python-%{pkgname}
+Name:           python-%{pkgname}8
 Version:        8.0
 Release:        %autorelease
 Summary:        Python QR Code image generator
@@ -23,21 +22,20 @@
 generation of QR Codes.


-%package -n python3-%{pkgname}
+%package -n python3-%{pkgname}8
 Summary:        Python QR Code image generator
-Obsoletes:      python3-qrcode-core < 7.4.2-2
-Provides:       python3-qrcode-core = %{version}-%{release}
+Conflicts:      python3-qrcode-core < 7.4.2-2
 %if %{with extras}
-Recommends:     (python3-%{pkgname}+pil or python3-%{pkgname}+png or
python3-%{pkgname}+all)
+Recommends:     (python3-%{pkgname}8+pil or python3-%{pkgname}8+png or
python3-%{pkgname}8+all)
 %endif

-%description -n python3-%{pkgname}
+%description -n python3-%{pkgname}8
 This module uses the Python Imaging Library (PIL) to allow for the
 generation of QR Codes. Python 3 version.


 %if %{with extras}
-%pyproject_extras_subpkg -n python3-%{pkgname} pil,png,all
+%pyproject_extras_subpkg -n python3-%{pkgname}8 pil,png,all
 %endif


@@ -69,7 +67,7 @@
 %pytest -v


-%files -n python3-%{pkgname} -f %{pyproject_files}
+%files -n python3-%{pkgname}8 -f %{pyproject_files}
 %doc README.rst CHANGES.rst
 %license LICENSE
 %{_bindir}/qr


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2441402

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202441402%23c1

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to