diff options
-rw-r--r-- | libcgif-pc.patch | 29 | ||||
-rw-r--r-- | libcgif.spec | 11 |
2 files changed, 5 insertions, 35 deletions
diff --git a/libcgif-pc.patch b/libcgif-pc.patch deleted file mode 100644 index eecbab4..0000000 --- a/libcgif-pc.patch +++ /dev/null @@ -1,29 +0,0 @@ -From e79e12f868e16da7c2a3726ad13205b1dd62ca94 Mon Sep 17 00:00:00 2001 -From: Remi Collet <remi@remirepo.net> -Date: Mon, 8 Nov 2021 17:10:29 +0100 -Subject: [PATCH] fix #24 define project version - ---- - meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 8da6bf6..28eb50d 100644 ---- a/meson.build -+++ b/meson.build -@@ -1,6 +1,7 @@ - project( - 'libcgif', - 'c', -+ version : '0.0.1', - license : 'MIT', - default_options : ['c_std=c99'], - ) -@@ -9,7 +10,6 @@ lib = library( - 'cgif', - 'cgif.c', - soversion : '0', -- version : '0.0.1', - install : true, - ) - diff --git a/libcgif.spec b/libcgif.spec index 4410fff..259be0f 100644 --- a/libcgif.spec +++ b/libcgif.spec @@ -7,7 +7,7 @@ # Please, preserve the changelog entries # -%global gh_commit e698ff1d03c3ddea4f67d5ec8b2cb23faf785680 +%global gh_commit 828923477cc4e49f04eec446da36068ec2025d1a %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) #global gh_date 20211001 %global gh_owner dloebl @@ -17,16 +17,13 @@ Name: %{libname} Summary: A fast and lightweight GIF encoder -Version: 0.0.1 +Version: 0.0.2 Release: 1%{?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 -# Fix version in pkgconfig file -Patch0: %{name}-pc.patch - BuildRequires: gcc BuildRequires: meson @@ -65,7 +62,6 @@ for %{libname}. %prep %setup -q -n %{gh_project}-%{gh_commit} -%patch0 -p1 %build @@ -94,6 +90,9 @@ for %{libname}. %changelog +* Tue Nov 9 2021 Remi Collet <remi@remirepo.net> - 0.0.2-1 +- update to 0.0.2 + * Mon Nov 8 2021 Remi Collet <remi@remirepo.net> - 0.0.1-1 - initial package - add patch to fix missing version in pc file |