summaryrefslogtreecommitdiffstats
path: root/php-tecnickcom-tc-lib-barcode.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2026-04-14 11:31:17 +0200
committerRemi Collet <remi@php.net>2026-04-14 11:31:17 +0200
commitf86cbbe74f706a797e05a309c48f05b1a19a8441 (patch)
tree9c1d2f6f735818a8f2d4eb852b79523e2c8bf4e7 /php-tecnickcom-tc-lib-barcode.spec
parent5c0f0597617dd1645cee811eb67b6db4495572f1 (diff)
update to 2.4.31 (no change)
Diffstat (limited to 'php-tecnickcom-tc-lib-barcode.spec')
-rw-r--r--php-tecnickcom-tc-lib-barcode.spec21
1 files changed, 13 insertions, 8 deletions
diff --git a/php-tecnickcom-tc-lib-barcode.spec b/php-tecnickcom-tc-lib-barcode.spec
index 897cf75..2f82704 100644
--- a/php-tecnickcom-tc-lib-barcode.spec
+++ b/php-tecnickcom-tc-lib-barcode.spec
@@ -6,22 +6,24 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit be76f91968bfab74949a3f937f78f02455597c85
-%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global c_vendor tecnickcom
%global gh_owner tecnickcom
%global gh_project tc-lib-barcode
%global php_project %{_datadir}/php/Com/Tecnick/Barcode
+%global forgeurl https://github.com/%{gh_owner}/%{gh_project}
+%global tag %{version}
+
%bcond_without tests
Name: php-%{gh_owner}-%{gh_project}
-Version: 2.4.29
-Release: 1%{?dist}
Summary: PHP library to generate linear and bidimensional barcodes
-
License: LGPL-3.0-or-later
-URL: https://github.com/%{gh_owner}/%{gh_project}
-Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{name}-%{version}-%{?gh_short}.tar.gz
+Version: 2.4.31
+Release: 1%{?dist}
+
+%forgemeta
+URL: %{forgeurl}
+Source0: %{forgesource}
BuildArch: noarch
%if %{with tests}
@@ -78,7 +80,7 @@ Optional dependency: php-pecl-imagick
%prep
-%setup -q -n %{gh_project}-%{gh_commit}
+%forgesetup
: Sanity check
grep -q '^%{version}$' VERSION
@@ -137,6 +139,9 @@ exit $ret
%changelog
+* Tue Apr 14 2026 Remi Collet <remi@remirepo.net> - 2.4.31-1
+- update to 2.4.31 (no change)
+
* Tue Mar 31 2026 Remi Collet <remi@remirepo.net> - 2.4.29-1
- update to 2.4.29 (no change)