Rename zbar-python3 to python3-zbar as per latest Python guidelines

epel9
Kalev Lember 2 years ago
parent 888b226546
commit a7acfe6d3d

@ -93,12 +93,14 @@ This package contains header files and additional libraries used for
developing GUI applications based on Qt4 that include a bar code developing GUI applications based on Qt4 that include a bar code
scanning widget. scanning widget.
%package python3 %package -n python3-zbar
Summary: Bar code reader PyGTK widget Summary: Bar code reader PyGTK widget
Requires: %{name}-libs%{_isa} = %{version}-%{release} Requires: %{name}-libs%{_isa} = %{version}-%{release}
Requires: python3-pillow Requires: python3-pillow
# Renamed in F37
Obsoletes: %{name}-python3 < %{version}-%{release}
%description python3 %description -n python3-zbar
This package contains a bar code scanning widget for use on This package contains a bar code scanning widget for use on
python applications that work with images. python applications that work with images.
@ -210,7 +212,7 @@ rm -rf $RPM_BUILD_ROOT/usr/share/doc/zbar-%{version}/
%{_libdir}/libzbarjni.so* %{_libdir}/libzbarjni.so*
%endif %endif
%files python3 %files -n python3-zbar
%{python3_sitearch}/zbar.so %{python3_sitearch}/zbar.so
%{_docdir}/test_python.py %{_docdir}/test_python.py
@ -221,6 +223,7 @@ rm -rf $RPM_BUILD_ROOT/usr/share/doc/zbar-%{version}/
- Split libzbar out to zbar-libs subpackage - Split libzbar out to zbar-libs subpackage
- Tighten subpackage deps with %%{_isa} - Tighten subpackage deps with %%{_isa}
- Drop manual requires on pkgconfig and rely on rpm dep extractor - Drop manual requires on pkgconfig and rely on rpm dep extractor
- Rename zbar-python3 to python3-zbar as per latest Python guidelines
* Mon Aug 01 2022 Gwyn Ciesla <gwync@protonmail.com> - 0.23.90-4 * Mon Aug 01 2022 Gwyn Ciesla <gwync@protonmail.com> - 0.23.90-4
- Only build Java on supported platforms. - Only build Java on supported platforms.

Loading…
Cancel
Save