[packages/adobe-afdko] Less macros

arekm arekm at pld-linux.org
Thu May 22 20:50:44 CEST 2025


commit bec11130b27eac2a3210dbd57db0cc78ed13357e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu May 22 20:39:16 2025 +0200

    Less macros

 adobe-afdko.spec | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/adobe-afdko.spec b/adobe-afdko.spec
index 2f23c66..99a4716 100644
--- a/adobe-afdko.spec
+++ b/adobe-afdko.spec
@@ -1,5 +1,4 @@
-%global archivename afdko
-%global antl4_ver 4.9.3
+%define	antl4_ver 4.9.3
 
 Summary:	Adobe Font Development Kit for OpenType
 Name:		adobe-afdko
@@ -11,7 +10,7 @@ Release:	1
 # python/afdko/resources/ is BSD-3-Clause
 License:	Apache-2.0 AND BSD-3-Clause AND ANTLR-PD AND Python-2.0.1
 URL:		https://github.com/adobe-type-tools/afdko
-Source0:	https://github.com/adobe-type-tools/%{archivename}/releases/download/%{version}/%{archivename}-%{version}.tar.gz
+Source0:	https://github.com/adobe-type-tools/afdko/releases/download/%{version}/afdko-%{version}.tar.gz
 # Source0-md5:	2a3ba9bb2583be0d744220411a8f24f1
 Source1:	https://www.antlr.org/download/antlr4-cpp-runtime-%{antl4_ver}-source.zip
 # Source1-md5:	eafa4fef583e12e963062882773461be
@@ -27,7 +26,7 @@ tools for building OpenType font files from PostScript and TrueType
 font data.
 
 %prep
-%setup -q -n %{archivename}-%{version}
+%setup -q -n afdko-%{version}
 %patch -P0 -p1
 
 cp %{SOURCE1} .
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adobe-afdko.git/commitdiff/bec11130b27eac2a3210dbd57db0cc78ed13357e



More information about the pld-cvs-commit mailing list