From 968d5f4b890a38d0c5df977c48fdd6ed0fe5b020 Mon Sep 17 00:00:00 2001 From: Michael J Gruber Date: Wed, 28 Jun 2023 17:04:24 +0200 Subject: [PATCH] fix FTBFS pre py 3.12 --- lensfun.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lensfun.spec b/lensfun.spec index 6fa918d..803f619 100644 --- a/lensfun.spec +++ b/lensfun.spec @@ -6,7 +6,7 @@ Name: lensfun Version: 0.3.3 Summary: Library to rectify defects introduced by photographic lenses -Release: 3%{?dist} +Release: 4%{?dist} License: LGPLv3 and CC-BY-SA URL: https://lensfun.github.io/ @@ -76,9 +76,9 @@ Obsoletes: python34-lensfun < %{version}-%{release} %setup -q -%patch866 -p1 -b .0866 +%patch -P 866 -p1 -b .0866 -%patch200 -p1 -b .INSTALL_HELPER_SCRIPTS +%patch -P 200 -p1 -b .INSTALL_HELPER_SCRIPTS %if 0%{?python3:1} sed -i.shbang \ @@ -136,6 +136,7 @@ export CTEST_OUTPUT_ON_FAILURE=1 %{_pkgdocdir}/*.png %{_pkgdocdir}/*.css %{_pkgdocdir}/*.js +%{_pkgdocdir}/*.svg %{_includedir}/lensfun/ %{_libdir}/liblensfun.so %{_libdir}/pkgconfig/lensfun.pc @@ -154,6 +155,9 @@ export CTEST_OUTPUT_ON_FAILURE=1 %changelog +* Wed Jun 28 2023 Michael J Gruber - 0.3.3-4 +- fix FTBFS pre py 3.12 + * Tue Jun 13 2023 Python Maint - 0.3.3-3 - Rebuilt for Python 3.12