From c250187eb303f57a054f956d36ac8841c4dc76a6 Mon Sep 17 00:00:00 2001
From: Kleis Auke Wolthuizen <github@kleisauke.nl>
Date: Wed, 28 Dec 2022 14:09:11 +0100
Subject: Update to libvips 8.14.0-rc1

---
 libvips.xml |  2 +-
 vips.spec   | 17 ++++++-----------
 2 files changed, 7 insertions(+), 12 deletions(-)

diff --git a/libvips.xml b/libvips.xml
index 03e3f9a..8f55b63 100644
--- a/libvips.xml
+++ b/libvips.xml
@@ -9,7 +9,7 @@
 
 <version>
     <!-- Version of the library -->
-8.14.0-alpha1
+8.14.0-rc1
 </version>
 
 <headers>
diff --git a/vips.spec b/vips.spec
index f568701..3500312 100644
--- a/vips.spec
+++ b/vips.spec
@@ -10,14 +10,9 @@
 %global vips_version_base 8.14
 %global vips_version %{vips_version_base}.0
 %global vips_soname_major 42
-%global vips_prever alpha1
+%global vips_prever rc1
 %global vips_tagver %{vips_version}%{?vips_prever:-%{vips_prever}}
 
-# TODO remove when libvips 8.14 alpha1 is released
-%global commit 4611651d90d5afe3f8628be2735a1d35be32f3b2
-%global commitdate 20221127
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-
 %if 0%{?fedora} || 0%{?rhel} >= 8
 %bcond_without             doc
 %else
@@ -75,12 +70,12 @@
 
 Name:           vips
 Version:        %{vips_version}%{?vips_prever:~%{vips_prever}}
-Release:        1%{?commitdate:.%{commitdate}git%{shortcommit}}%{?dist}
+Release:        1%{?dist}
 Summary:        C/C++ library for processing large images
 
 License:        LGPLv2+
 URL:            https://libvips.github.io/libvips/
-Source0:        https://github.com/libvips/libvips/archive/%{commit}/libvips-%{shortcommit}.tar.gz
+Source0:        https://github.com/libvips/libvips/releases/download/v%{vips_tagver}/vips-%{vips_version}.tar.xz
 
 BuildRequires:  gcc
 BuildRequires:  gcc-c++
@@ -311,7 +306,7 @@ exit 1
 %endif
 %endif
 
-%setup -q -n libvips-%{commit}
+%setup -q -n vips-%{vips_version}
 
 %build
 # Upstream recommends enabling auto-vectorization of inner loops:
@@ -446,8 +441,8 @@ sed -e 's:/usr/bin/python:%{_bindir}/python3:' -i %{buildroot}/%{_bindir}/vipspr
 
 
 %changelog
-* Sun Nov 27 2022 Kleis Auke Wolthuizen <info@kleisauke.nl> - 8.14.0~alpha1-1.20221127git4611651
-- Update to libvips/libvips@4611651
+* Wed Dec 28 2022 Kleis Auke Wolthuizen <info@kleisauke.nl> - 8.14.0~rc1-1
+- Update to 8.14.0-rc1
 - Migrate build to Meson
 - Remove gtk-doc docs from vips-devel
 
-- 
cgit