#2 Update to build with sip5+
Merged a year ago by kevin. Opened a year ago by swt2c.
rpms/ swt2c/python3-poppler-qt5 sip5  into  rawhide

file modified
+14 -5
@@ -1,6 +1,6 @@ 

  Name:           python3-poppler-qt5

  Version:        21.1.0

- Release:        2%{?dist}

+ Release:        3%{?dist}

  Summary:        Python bindings for the Poppler PDF rendering library

  

  License:        LGPLv2+
@@ -12,8 +12,8 @@ 

  BuildRequires:  python3-devel

  BuildRequires:  python3-setuptools

  BuildRequires:  python3-qt5-devel

- BuildRequires:  python3-sip5

- %{?_sip_api:Requires: python%{python3_pkgversion}-pyqt5-sip-api(%{_sip_api_major}) >= %{_sip_api}}

+ BuildRequires:  %{py3_dist sip} >= 5

+ BuildRequires:  %{py3_dist PyQt-builder}

  BuildRequires:  pkgconfig(poppler-qt5)

  

  # we don't want to provide private python extension libs
@@ -34,18 +34,27 @@ 

  %patch1 -p1

  

  %build

- %py3_build

+ sip-build --qmake=%{_qt5_qmake} --verbose --no-make \

+   --qmake-setting 'QMAKE_CFLAGS_RELEASE="%{optflags}"' \

+   --qmake-setting 'QMAKE_CXXFLAGS_RELEASE="%{optflags}"' \

+   --qmake-setting 'QMAKE_LFLAGS_RELEASE="%{?__global_ldflags}"'

+ %make_build -C build

  

  %install

- %py3_install

+ %make_install INSTALL_ROOT=%{buildroot} -C build

+ chmod +x %{buildroot}/%{python3_sitearch}/*.so

  

  %files

  %license LICENSE

  %doc README.rst

  %{python3_sitearch}/popplerqt5.cpython-*.so

  %{python3_sitearch}/python_poppler*

+ %{python3_sitearch}/PyQt5/bindings/popplerqt5

  

  %changelog

+ * Sat Jul 03 2021 Scott Talbert <swt@techie.net> - 21.1.0-3

+ - Update to build with sip5+

+ 

  * Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 21.1.0-2

  - Rebuilt for Python 3.10

  

Please DON'T MERGE but do provide comments/approval. This is part of a coordinated move to sip5 in F35+.

Assuming it works, I approve. :)

Of course it works. :)

See this copr where I'm building stuff:
https://copr.fedorainfracloud.org/coprs/swt2c/pyqt5-sip5/builds/

It was rhetorical, but thank you for the supporting evidence. :)

rebased onto 758fa7d

a year ago

Building in f35-build-side-43327

Pull-Request has been merged by kevin

a year ago
Metadata