summaryrefslogtreecommitdiffstats
path: root/libcgif.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2026-04-01 07:20:28 +0200
committerRemi Collet <remi@php.net>2026-04-01 07:20:28 +0200
commit6d246efc0aebfd6a62d5a3e55897b736a90377e3 (patch)
treee36913c2caba05a7cf24d9a4eba4a4d161691af2 /libcgif.spec
parentd5c73104411101ead27f93d82be2f22e2a91769f (diff)
update to 0.5.3HEADmaster
Diffstat (limited to 'libcgif.spec')
-rw-r--r--libcgif.spec36
1 files changed, 20 insertions, 16 deletions
diff --git a/libcgif.spec b/libcgif.spec
index 7b85bfe..7705715 100644
--- a/libcgif.spec
+++ b/libcgif.spec
@@ -7,24 +7,26 @@
# Please, preserve the changelog entries
#
-%global gh_commit 48d28fe9f8c3a344b688bb10274447b6bb1bf0c2
-%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
-#global gh_date 20211001
-%global gh_owner dloebl
-%global gh_project cgif
%global libname libcgif
%global soname 0
+# Github forge
+%global gh_vend dloebl
+%global gh_proj cgif
+%global forgeurl https://github.com/%{gh_vend}/%{gh_proj}
+%global tag v%{version}
+# remirepo:2
+# for EL-8 to avoid TAG usage
+%global archivename %{gh_proj}-%{version}
+
Name: %{libname}
Summary: A fast and lightweight GIF encoder
-Version: 0.5.2
-Release: 2%{?dist}
License: MIT
-
-URL: https://github.com/%{gh_owner}/%{gh_project}
-Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{gh_short}.tar.gz
-
-Patch0: CVE-2026-4985.patch
+Version: 0.5.3
+Release: 1%{?dist}
+%forgemeta
+URL: %{forgeurl}
+Source0: %{forgesource}
BuildRequires: gcc
BuildRequires: meson >= 0.56
@@ -63,8 +65,7 @@ for %{libname}.
%prep
-%setup -q -n %{gh_project}-%{gh_commit}
-%patch -P0 -p1 -b .cve
+%forgesetup
%build
@@ -87,12 +88,15 @@ for %{libname}.
%files devel
%doc README.md
-%{_libdir}/pkgconfig/%{gh_project}.pc
+%{_libdir}/pkgconfig/%{gh_proj}.pc
%{_libdir}/%{libname}.so
-%{_includedir}/%{gh_project}.h
+%{_includedir}/%{gh_proj}.h
%changelog
+* Wed Apr 1 2026 Remi Collet <remi@remirepo.net> - 0.5.3-1
+- update to 0.5.3
+
* Tue Mar 31 2026 Remi Collet <remi@remirepo.net> - 0.5.2-2
- fix potential undefined behavior in cgif_addframe
CVE-2026-4985