public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mingw-json-glib] f43: Update to latest version
@ 2026-07-14  2:12 Elliott Sales de Andrade
  0 siblings, 0 replies; only message in thread
From: Elliott Sales de Andrade @ 2026-07-14  2:12 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/mingw-json-glib
Branch : f43
Commit : 75b03a866f04c8ae51f81a62dbdd87d10d3aa7f7
Author : Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date   : 2026-07-13T14:52:57-04:00
Stats  : +18/-13 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/mingw-json-glib/c/75b03a866f04c8ae51f81a62dbdd87d10d3aa7f7?branch=f43

Log:
Update to latest version

---
diff --git a/.gitignore b/.gitignore
index 57fd40e..f9828c7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
 /json-glib-1.6.2.tar.xz
 /json-glib-1.6.4.tar.xz
 /json-glib-1.6.6.tar.xz
+/json-glib-1.10.8.tar.xz

diff --git a/mingw-json-glib.spec b/mingw-json-glib.spec
index 9475fab..971a234 100644
--- a/mingw-json-glib.spec
+++ b/mingw-json-glib.spec
@@ -1,20 +1,24 @@
 %{?mingw_package_header}
 %define pkgname json-glib
-%define glib2_version 2.54.0
+%define glib2_version 2.72.0
 
 Name:           mingw-%{pkgname}
-Version:        1.6.6
+Version:        1.10.8
+%{lua:
+  local version = rpm.expand('%version')
+  local major_minor = string.sub(version, string.find(version, '%d+%.%d+'))
+  rpm.define('major_minor ' .. major_minor)
+}
 Release:        %autorelease
 Summary:        MinGW compiled library for JavaScript Object Notation format
 
 License:        LGPL-2.1-or-later
 URL:            https://wiki.gnome.org/Projects/JsonGlib
-Source0:        https://download.gnome.org/sources/%{pkgname}/1.6/%{pkgname}-%{version}.tar.xz
+Source:         https://download.gnome.org/sources/%{pkgname}/%{major_minor}/%{pkgname}-%{version}.tar.xz
 
 BuildArch:      noarch
 
 BuildRequires:  meson
-BuildRequires:  gcc
 BuildRequires:  gettext
 
 BuildRequires:  mingw32-filesystem >= 104
@@ -54,7 +58,7 @@ MinGW compiled %{pkgname} library for the Win64 target.
 
 
 %prep
-%setup -q -n %{pkgname}-%{version}
+%autosetup -p1 -n %{pkgname}-%{version}
 
 
 %build
@@ -66,17 +70,17 @@ MinGW compiled %{pkgname} library for the Win64 target.
 export DESTDIR=%{buildroot}
 %mingw_ninja install
 
-%mingw_find_lang json-glib-1.0
+%mingw_find_lang %{pkgname}-1.0
 
 
 # Win32
-%files -n mingw32-%{pkgname} -f mingw32-json-glib-1.0.lang
+%files -n mingw32-%{pkgname} -f mingw32-%{pkgname}-1.0.lang
 %license COPYING
 %{mingw32_bindir}/json-glib-format.exe
 %{mingw32_bindir}/json-glib-validate.exe
-%{mingw32_bindir}/lib%{pkgname}*.dll
+%{mingw32_bindir}/lib%{pkgname}-1.0-0.dll
 %{mingw32_includedir}/%{pkgname}-1.0/
-%{mingw32_libdir}/lib%{pkgname}*.dll.a
+%{mingw32_libdir}/lib%{pkgname}-1.0.dll.a
 #{mingw32_libdir}/girepository-1.0/Json-1.0.typelib
 %{mingw32_libdir}/pkgconfig/%{pkgname}-1.0.pc
 #{mingw32_datadir}/gir-1.0/Json-1.0.gir
@@ -85,13 +89,13 @@ export DESTDIR=%{buildroot}
 
 
 # Win64
-%files -n mingw64-%{pkgname} -f mingw64-json-glib-1.0.lang
+%files -n mingw64-%{pkgname} -f mingw64-%{pkgname}-1.0.lang
 %license COPYING
 %{mingw64_bindir}/json-glib-format.exe
 %{mingw64_bindir}/json-glib-validate.exe
-%{mingw64_bindir}/lib%{pkgname}*.dll
+%{mingw64_bindir}/lib%{pkgname}-1.0-0.dll
 %{mingw64_includedir}/%{pkgname}-1.0/
-%{mingw64_libdir}/lib%{pkgname}*.dll.a
+%{mingw64_libdir}/lib%{pkgname}-1.0.dll.a
 #{mingw64_libdir}/girepository-1.0/Json-1.0.typelib
 %{mingw64_libdir}/pkgconfig/%{pkgname}-1.0.pc
 #{mingw64_datadir}/gir-1.0/Json-1.0.gir

diff --git a/sources b/sources
index e29716b..60fb060 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (json-glib-1.6.6.tar.xz) = b9a737e4ba3ecdfb9cb8f5fb751cc74e5b1553664d3088c44a1f9e5396d4037958af214dcd290ddf5af98088f46167e10e371e134e1de5cbb7aec84c5c0fd017
+SHA512 (json-glib-1.10.8.tar.xz) = f4ba8660b586a4e738803e4dbfdfcd34fa7ceba9189e7bf3f2b50e21f4d4886f99535ceb3453c89b1d1ae8d96bf4168a135b73b7e1a2dbc46b19e9b710ad56a1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-14  2:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-14  2:12 [rpms/mingw-json-glib] f43: Update to latest version Elliott Sales de Andrade

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox