Resolves: #2113117 - fix FTBFS on F37

This commit is contained in:
Josef Řídký 2022-08-02 09:18:02 +02:00
parent efb8800009
commit eb3518206d
2 changed files with 18 additions and 2 deletions

12
babl-meson.patch Normal file
View File

@ -0,0 +1,12 @@
diff -ruNp a/meson.build b/meson.build
--- a/meson.build 2022-08-02 08:59:19.342379619 +0200
+++ b/meson.build 2022-08-02 08:59:48.700626208 +0200
@@ -55,7 +55,7 @@ lib_name = meson.project_name() + '-'
stability_version_number = (major_version != 0 ? minor_version : micro_version)
stable = (stability_version_number % 2 == 0)
-conf.set10('BABL_UNSTABLE', not stable, Description:
+conf.set10('BABL_UNSTABLE', not stable, description:
'Define to 1 if this is an unstable version of BABL.')
conf.set ('BABL_MAJOR_VERSION', '@0@'.format(major_version))

View File

@ -19,7 +19,7 @@
Summary: A dynamic, any to any, pixel format conversion library
Name: babl
Version: 0.1.92
Release: 2%{?dist}
Release: 3%{?dist}
# Compute some version related macros
# Ugly hack, you need to get your quoting backslashes/percent signs straight
@ -32,6 +32,7 @@ Release: 2%{?dist}
License: LGPLv3+ and GPLv3+
URL: http://www.gegl.org/babl/
Source0: https://download.gimp.org/pub/babl/%{apiver}/%{name}-%{version}.tar.xz
Patch1: babl-meson.patch
BuildRequires: gcc
BuildRequires: openssh-clients
@ -123,10 +124,13 @@ popd
%doc %{develdocdir}
%changelog
* Tue Aug 02 2022 Josef Ridky <jridky@redhat.com> - 0.1.92-3
- Fix FTBFS in F37 (#2113117)
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.92-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Mar 31 2022 Josef Ridky <jridky@redhat.com> - 0.1.92-1
* Thu Mar 31 2022 Josef Ridky <jridky@redhat.com> - 0.1.92-1
- New upstream release 0.1.92
* Mon Mar 14 2022 Josef Ridky <jridky@redhat.com> - 0.1.90-2